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
I'm using the Zod validation schema, and I add a refine declaration on Email field, and I set Email field validateOnValueUpdate: false.
Though the refine validation will be triggered when I input letters into the Email field every time,
and when I trigger other fields' validation, the refine validation on the Email field will be triggered as well.
What happened?
Hi~
I found a wierd situation.
I'm using the
Zod
validation schema, and I add arefine
declaration onEmail
field, and I setEmail
fieldvalidateOnValueUpdate: false
.Though the
refine
validation will be triggered when I input letters into theEmail
field every time,and when I trigger other fields' validation, the
refine
validation on theEmail
field will be triggered as well.Reproduction steps
Reproduce demo: https://stackblitz.com/edit/vee-validate-v4-async-validation-7ffbmq?file=package.json,src%2FApp.vue
I only forked the official demo: https://stackblitz.com/edit/vee-validate-v4-async-validation, and add latest
zod
and@vee-validate/zod
packages.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
https://stackblitz.com/edit/vee-validate-v4-async-validation-7ffbmq?file=package.json,src%2FApp.vue
Code of Conduct
The text was updated successfully, but these errors were encountered: