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
Describe the bug
Form keeps staying in error state even though it is being changed into a valid state (cannot submit form).
I can confirm this issue for both yup and superstruct so I assume it will cause problems for all resolvers.
hey, @jorisre did some quick investigation, I think this problem occurred at the resolver not invoke setCustomValidty(true); to clear the error. Could you please take a look at it when you got a chance?
Describe the bug
Form keeps staying in error state even though it is being changed into a valid state (cannot submit form).
I can confirm this issue for both yup and superstruct so I assume it will cause problems for all resolvers.
To Reproduce
Steps to reproduce the behavior:
Codesandbox link (Required)
https://codesandbox.io/s/rhf-bug-hs2ux?file=/src/App.tsx
Expected behavior
Native validation message dismisses and form is submittable
Screenshots
Screen.Recording.2021-07-08.at.16.42.13.mov
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: