nuxt-validate icon indicating copy to clipboard operation
nuxt-validate copied to clipboard

handleSubmit is not a function (using ValidationObserver)

Open jamesofficer opened this issue 4 years ago • 3 comments

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!

jamesofficer avatar Nov 27 '19 10:11 jamesofficer

I get the same error, with the "handleSubmit" error. I have opened an issue here: https://github.com/logaretm/vee-validate/issues/2662

simplenotezy avatar Feb 27 '20 14:02 simplenotezy

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.

nlxdodge avatar Jul 28 '20 09:07 nlxdodge

Actualy, nuxt-validate use vee-validate v2 check with npm list

chapdel avatar Jan 23 '21 15:01 chapdel