Controller not updating value on change. #11364
Unanswered
nikhilkpn01
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I'm a bit confused about the use case here, so bear with me. I see you're registering a field array, but not using its API. By updating the |
Beta Was this translation helpful? Give feedback.
1 reply
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 useFieldArray for a nested form. Were I fill the array with some default values. I need to change the value of the field based on index.

It works when I use "input" with 'register' but not working with 'Controller'.
Please find https://codesandbox.io/p/sandbox/usefieldarray-yz5yjs?file=%2Fsrc%2FApp.js%3A8%2C10
When I click on 'change' button both the fields should change.
Can someone help me to fix this issue?
Beta Was this translation helpful? Give feedback.
All reactions