Is there a way to clear all errors? #425
Unanswered
lukejagodzinski
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see that I can do
field.clearError()
on a single field but is there a way to clear all the errors in the form? I need to do that because RVF remembers old errors when I add and remove array elements.If I added array element and triggered validation and it failed validation then this error is set. When I remove field and add a new one it remembers the old error. So maybe it's more of the bug the feature request.
Beta Was this translation helpful? Give feedback.
All reactions