useFieldArray remove() issue #3259
Answered
by
bluebill1049
ravish-goel
asked this question in
General
-
Hi Bill, when I try to invoke remove() after calling append() on a list rendered via fields.map, I can see empty objects (specified by append method) append to the fields array. It seems like append() is executing by itself. These last items don't have the id associated with them. Also please note that the length of the fields array doesn't go down the initial length which was set based on the default data. It remains 5 in my case. |
Beta Was this translation helpful? Give feedback.
Answered by
bluebill1049
Oct 24, 2020
Replies: 1 comment 1 reply
-
please provide a reproducible CSB |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bluebill1049
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
please provide a reproducible CSB