Is there option to keep field array id when using reset? #11839
Answered
by
fadi-george
fadi-george
asked this question in
General
-
I ran into an issue with using react beautiful dnd for drag-n-drop. I use to have render a list of cards but I have some actions that needs to use the replace method from useFieldArray but I want to keep the original ids. Exception would be if adding a card where the additional card will need a new id. |
Beta Was this translation helpful? Give feedback.
Answered by
fadi-george
May 2, 2024
Replies: 1 comment
-
I had some Collapse animation so at least a fix for now is moving the id down to a nested div. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fadi-george
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had some Collapse animation so at least a fix for now is moving the id down to a nested div.