Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
-
If you use useFieldArray.update to update an object in the array, it may eventually cause this error. You should use setValue from useFormContext to update. |
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'm at a loss, I've been trying to debug this for hours and can't seem to fix it for some reason.
I am using cloneDeep from Lodash to reset, and at least now it only occurs on two fields. As well as this following error:
TypeError: Cannot assign to read only property '0' of object '[object Array]'.
Any ideas how I can even attempt to debug this?
Beta Was this translation helpful? Give feedback.
All reactions