nuxt-validate
nuxt-validate copied to clipboard
handleSubmit is not a function (using ValidationObserver)
I've set up my form in a similar manner to this: https://logaretm.github.io/vee-validate/guide/forms.html#validate-before-submit
However when I use the ValidationObserver
the invalid
and handleSubmit
slots don't seem to work? When I submit the form wrapped in the handleSubmit
method I get handleSubmit is not a function
. Also my button is not disabled by default with the invalid
slot.
Everything else seems fine so I'm not sure if I'm missing something. Any help would be great, thanks!
I get the same error, with the "handleSubmit" error. I have opened an issue here: https://github.com/logaretm/vee-validate/issues/2662
Yeah so that was only available from version 3.2 according to the link above. So this project is out of date, as it uses version 3.0.8.
Actualy, nuxt-validate use vee-validate v2
check with npm list