We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
7.40.0
https://codesandbox.io/s/rhf-bug-with-isvalidating-state-bhym4v
'Validate' button should not be disabled because validation just has been triggered.
No response
The text was updated successfully, but these errors were encountered:
As a quick workaround, you can get the formState from useFormContext instead of useFormState like
formState
useFormContext
useFormState
- const { trigger } = useFormContext() + const { trigger, formState } = useFormContext() - const { isValidating } = useFormState() + const { isValidating } = formState
Sorry, something went wrong.
Thanks @Moshyfawn
@ivanovserge This is fixed and will be released this week. #9521
No branches or pull requests
Version Number
7.40.0
Codesandbox/Expo snack
https://codesandbox.io/s/rhf-bug-with-isvalidating-state-bhym4v
Steps to reproduce
Expected behaviour
'Validate' button should not be disabled because validation just has been triggered.
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: