-
Is it possible to use
instead of array with my values. Here is my codesandbox |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
I saw an example for Field Arrays using Controller but I thought it's not what I am looking for because it logged same broken results:
actually the example itself is broken. 55's line should be
instead of
|
Beta Was this translation helpful? Give feedback.
-
You forgot add a ref={register()}. Here's a working fork. |
Beta Was this translation helpful? Give feedback.
-
here is an example for controller: https://codesandbox.io/s/react-hook-form-usefieldarray-vy8fv |
Beta Was this translation helpful? Give feedback.
I saw an example for Field Arrays using Controller but I thought it's not what I am looking for because it logged same broken results:
actually the example itself is broken. 55's line should be
instead of