New issue
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
Property defineField does not exist in useForm() #4711
Comments
Having the same problem. @logaretm On "vee-validate": "4.6.7", Also using Nuxt3 with Vuetify. Following vee-validate composition api documentation. UPDATE: |
Depends on the release version, thanks @AidosMarcos for the update. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
I use nuxt3 and install vee-validate with
pnpm add @veevalidate/nuxt
I want to use Composition API (because I use 3rd party UI library). and I following example in https://vee-validate.logaretm.com/v4/.
when i try to use defineField,
it return error
Property 'defineField' does not exist on type 'FormContext<GenericObject, GenericObject>'.
can somebody explain why?
Reproduction steps
const {values, defineField} = useForm();
...
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
Relevant log output
Demo link
Code of Conduct
The text was updated successfully, but these errors were encountered: