Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: clear applied $externalResults on $model change when rules recompute #1

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

renatodeleao
Copy link
Collaborator

fixes upstream vuelidate#1232

There's is PR already made to the original repo, but it's abandoned, so we cannot expect anything to be merged.

…pute

When you're using dynamic rules object via computed as documented, your client-side
validations work dynamically as expected. If you add $externalResults to the mix and
the rules rules are re-computed while $externalErrors are applied, $externalErrors are
 no longer cleared when $model changes.
@renatodeleao renatodeleao self-assigned this Mar 12, 2024
@renatodeleao renatodeleao merged commit 7058dc0 into next Mar 12, 2024
@nskazki nskazki deleted the fix-upstream-1232 branch May 22, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant