Replies: 1 comment
-
The Codesandbox link is broken. Can you make sure it is public? |
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 have a scenario where I want to show a form in a slider. I am using FieldArray, but I am facing a few issues.
Issue 1
The append data is creating new form data but not copying the form values that I am passing when I click on append. However, when I check the console, it shows the values correctly.
Issue 2
Additionally, when I remove a specific form, it is removing the last one. When I do a console log, it shows that it is not actually removing the last one. However, in the UI, the last form is removed.
Codesandbox
https://codesandbox.io/p/sandbox/react-hook-form-rendering-issue-wfnpjt?file=%2Fsrc%2FApp.tsx
Please help me to fix this issue. Thank you
Beta Was this translation helpful? Give feedback.
All reactions