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
Forgive me for not having a fiddle but I'm pressed for time. Basically I'm trying to validate multiple fields with a single validator as mentioned here: #375
The validation itself works in real time when changing the fields, but when I call validateAll(), the validations are not caught and I can submit the form.
Steps To Reproduce:
I have a child component with the validator injected and the form data passed in as a v-model.
In the template I display the errors, and they are detected and properly change when I change the values, as mentioned, but when clicking submit, it doesn't work. I realize that I'm only watching the values and validating them then. How can I actually check the value when validateAll() is called?
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Versions:
Description:
Forgive me for not having a fiddle but I'm pressed for time. Basically I'm trying to validate multiple fields with a single validator as mentioned here: #375
The validation itself works in real time when changing the fields, but when I call
validateAll()
, the validations are not caught and I can submit the form.Steps To Reproduce:
I have a child component with the validator injected and the form data passed in as a v-model.
In the parent component, I have a submit button that calls
validateAll()
.All v-model values are bound to
select
inputs.In the template I display the errors, and they are detected and properly change when I change the values, as mentioned, but when clicking submit, it doesn't work. I realize that I'm only watching the values and validating them then. How can I actually check the value when validateAll() is called?
The text was updated successfully, but these errors were encountered: