Replies: 1 comment 2 replies
-
you should have subscribed to the isDirty in the upper useFormState. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version Number
7.47.0
Codesandbox/Expo snack
https://codesandbox.io/s/react-hook-form-stale-state-57fvhz
Steps to reproduce
After changing anything else in the form state (e.g. entering a second character) the isDirty state gets updated to the correct value.
Expected behaviour
The submit button should be visible and enabled at the same time.
What browsers are you seeing the problem on?
Firefox, Chrome
Relevant log output
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions