Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

handleSubmit is not a function (using ValidationObserver) #25

Open
jamesofficer opened this issue Nov 27, 2019 · 3 comments
Open

handleSubmit is not a function (using ValidationObserver) #25

jamesofficer opened this issue Nov 27, 2019 · 3 comments

Comments

@jamesofficer
Copy link

jamesofficer commented Nov 27, 2019

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!

@simplenotezy
Copy link

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

@nlxdodge
Copy link

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.

@chapdel
Copy link

chapdel commented Jan 23, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants