watch method using useFormContext() #1672
-
I am sorry if this is a dumb question, but I expected
I have a form in another component with a few inputs. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
what do you mean? |
Beta Was this translation helpful? Give feedback.
-
I finally identified why the form was stopping watching my input. Thanks a lot for your answers, and for asking me to use codesandbox, it really helped me isolating the issue! |
Beta Was this translation helpful? Give feedback.
I finally identified why the form was stopping watching my input.
My form was wrapped in a parent container with no access to the form context and was preventing the rerender...
Thanks a lot for your answers, and for asking me to use codesandbox, it really helped me isolating the issue!
By the way, react-hook-form is awesome, keep up this great work!!