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
Additional context
A very similar problem is described in the docs. The provided solution seems to be invalid because after submitting the form all of the validation errors show up. To solve this you probably need to change the this.$nextTick(() => {...} to requestAnimationFrame(() => {...}.
Versions
Describe the bug
After form submission, I want to reset all values and hide validation errors. These which depend on
failedRules
are still showing up.To reproduce
Steps to reproduce the behavior:
Expected behavior
this.$refs.observer.reset();
should resetfailedRules
too.Demo link
https://codesandbox.io/s/vee-validate-3-reset-checkbox-validation-qr8uw
Additional context
A very similar problem is described in the docs. The provided solution seems to be invalid because after submitting the form all of the validation errors show up. To solve this you probably need to change the
this.$nextTick(() => {...}
torequestAnimationFrame(() => {...}
.PS. The answer to this stackoverflow question seems to work fine...
The text was updated successfully, but these errors were encountered: