need help: [useFieldArray]- unexpected behaviour #10917
Unanswered
niralivasoya
asked this question in
Q&A
Replies: 1 comment
-
@jorisre can you please look into it? Thank you. |
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.
-
Version Number
^7.45.1
Codesandbox/Expo snack
Steps to reproduce
I am attaching my code here:
In this code, when I click on the
+space
it will open the modal and this is the modal container codeand here is the twist, I have created the common component for the form because I am using this component to display the detail of whatever user entered in it.
this is the code for the form(it's not form just named it as form). This one part of the nested big form.
here how can I handle the spaceDetailData array using the useFieldArray, I tried to use it but it behaves wrong here.
Expected behaviour
This is the Form UI:

and this is how it should look after adding the array of details:
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions