Replies: 3 comments 6 replies
-
You'll have to provide a minimal reproduction codesanbox in order for us to help you debug the issue. |
Beta Was this translation helpful? Give feedback.
1 reply
-
To subscribe to the value change, you want to use the - const isRequired = !getValues("isRequired")
+ const isRequired = !watch("isRequired") |
Beta Was this translation helpful? Give feedback.
5 replies
-
having the same problem |
Beta Was this translation helpful? Give feedback.
0 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.
-
I am using typescript in project. Initially required rule is present for Controller, but when removed the last error in { render -> fieldState } is not getting removed due to which not able to submit form.
Beta Was this translation helpful? Give feedback.
All reactions