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
Since v4.9, Form with keep-values submission/validation get stuck when having conditional Fields, I noticed that this happens because even though the conditional fields are out of the view, it still exist in the form context
Reproduction steps
Create a From with keep-values attribute
Add some conditional Fields to the form with some rules
Switch the view to show other Field
Add value to the field to satisfy the validation and try to submit
Observe the form is unable to submit because it's trying to validate the Field that are not mounted
...
What happened?
Since v4.9,
Form
withkeep-values
submission/validation get stuck when having conditionalField
s, I noticed that this happens because even though the conditional fields are out of the view, it still exist in the form contextReproduction steps
From
withkeep-values
attributeField
s to the form with some rulesField
Field
that are not mounted...
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/vitejs-vite-qk6muc?file=src%2Fmain.ts,src%2Fcomponents%2FHelloWorld.vue&terminal=dev
Code of Conduct
The text was updated successfully, but these errors were encountered: