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 "select" and "text" to switch from. When I close the my modal, I run this : this.$validator.reset();
The problem is that I get the error : "Uncaught (in promise) Error: [vee-validate] Validating a non-existent field: "#29". Use "attach()" first." if I open the modal by editing a row with dynamic field of type "a" and then editing a row of type "b"
I hoped that : "this.$validator.reset();" would handle switching between dynamic fields if they had a key.
Desktop (please complete the following information):
W10
Chrome
Version 74.0.3729.169
Additional context
I've been trying to get this to work for a moment now but I haven't figured out a solution. I've read about the VeeValidate dynamical fields but it didn't help either.
The text was updated successfully, but these errors were encountered:
The directive timing issues is hard to pinpoint and fix completely. I suggest moving to ValidationProvider component as it is more robust and doesn't have the common issues of a directive.
Versions
Describe the bug
I have a "select" and "text" to switch from. When I close the my modal, I run this : this.$validator.reset();
The problem is that I get the error : "Uncaught (in promise) Error: [vee-validate] Validating a non-existent field: "#29". Use "attach()" first." if I open the modal by editing a row with dynamic field of type "a" and then editing a row of type "b"
To reproduce
`
Catégorie du soin*
Expected behavior
I hoped that : "this.$validator.reset();" would handle switching between dynamic fields if they had a key.
Desktop (please complete the following information):
Additional context
I've been trying to get this to work for a moment now but I haven't figured out a solution. I've read about the VeeValidate dynamical fields but it didn't help either.
The text was updated successfully, but these errors were encountered: