You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just create a basic form with a basic field - useForm(), useField() with zod validation.
Form submission is not prevented if there are validation errors
I've made a small sample app as showcase for this error. I put in two input field with one static schema and one computed schema based on the input of the first field. Both validations work fine with 4.12.6, but both stop to work with 4.12.7. You can remove the "surname" related code if you fear that causes the problem but even the basic "name" validation stuff alone does no longer work.
What happened?
Just create a basic form with a basic field - useForm(), useField() with zod validation.
Form submission is not prevented if there are validation errors
I've made a small sample app as showcase for this error. I put in two input field with one static schema and one computed schema based on the input of the first field. Both validations work fine with 4.12.6, but both stop to work with 4.12.7. You can remove the "surname" related code if you fear that causes the problem but even the basic "name" validation stuff alone does no longer work.
Reproduction steps
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
Relevant log output
No response
Demo link
Code of Conduct
The text was updated successfully, but these errors were encountered: