nested useFieldArray not resetting as expected #10673
-
Version7.45.1 DescriptionI think I may have found a bug with the way that the form state is being reset when there is nested state. My form state is as follows:
When I call I've tried passing in defaultValues:
But whenever I call Calling Any thoughts on what I might be doing wrong? Or is this a bug in the library? Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Update.. I created a sandbox and it doesn't seem to exhibit the same behavior. I guess it must be something in my app itself. |
Beta Was this translation helpful? Give feedback.
Update..
I created a sandbox and it doesn't seem to exhibit the same behavior. I guess it must be something in my app itself.
https://codesandbox.io/s/keen-hellman-hmc8cw?file=/src/App.js