We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
useForm
any
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.5.5
Vue w/ Inertia
The useForm helper returns any type, which is annoying because I have no idea what methods are available. Is this intentional?
In addition, if I use the transform() method, data isn't typed and so the properties of my form aren't found.
transform()
Simply import useForm from the Inertia plugin and you'll see that it is not typed:
import { useForm } from 'laravel-precognition-vue-inertia';
I see that laravel-precognition-vue does have a return type, unlike laravel-precognition-view-inertia: https://github.com/laravel/precognition/blob/main/packages/vue-inertia/src/index.ts#L8
laravel-precognition-vue
laravel-precognition-view-inertia
The text was updated successfully, but these errors were encountered:
Hi there, if you could whip up a PR for us to look at, that'd be great! Thanks.
Duplicate of #63 and previous fail attempt: #64
Sorry, something went wrong.
Hi @crynobone, I've just looked at the PR list, it seems to be more linked to #77. I'll wait for @timacdonald review then, thanks.
No branches or pull requests
Laravel Precognition Plugin Version
0.5.5
Laravel Version
0.5.5
Plugin
Vue w/ Inertia
Description
The
useForm
helper returnsany
type, which is annoying because I have no idea what methods are available.Is this intentional?
In addition, if I use the
transform()
method, data isn't typed and so the properties of my form aren't found.Steps To Reproduce
Simply import
useForm
from the Inertia plugin and you'll see that it is not typed:I see that
laravel-precognition-vue
does have a return type, unlikelaravel-precognition-view-inertia
: https://github.com/laravel/precognition/blob/main/packages/vue-inertia/src/index.ts#L8The text was updated successfully, but these errors were encountered: