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 have a <Field> component using :validateOnModelUpdate="false" and a v-model. Updating the v-model externally still triggers the Field component to run it's validation even when set to false. When I apply the rules prop to the Field instead of validation-schema to Form this works as expected.
Reproduction steps
Create a Field component with yup validation but validateOnModelUpdate to false. Add validation to the Form component.
DarrenXu94
changed the title
Field component ignores validatieOn props using external value changes
Field component ignores validateOn props using external value changes
Sep 6, 2023
What happened?
I have a
<Field>
component using:validateOnModelUpdate="false"
and a v-model. Updating the v-model externally still triggers the Field component to run it's validation even when set to false. When I apply therules
prop to the Field instead ofvalidation-schema
to Form this works as expected.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
https://stackblitz.com/edit/vue-6pt4lq?file=src%2FApp.vue
Code of Conduct
The text was updated successfully, but these errors were encountered: