useFieldArray: add multiple records at once #3105
-
Apologies if I've missed a similar post, but I have need of adding multiple records to a nested field array (csv upload) and I'm uncertain of the best way to approach this.
What is the recommended method for insertion of multiple items at once into a field array? Also, I see in https://spectrum.chat/react-hook-form/help/usefieldarray-doesnt-update-fields~38f3406b-6237-410e-a357-940f6895f957?authed=true that you have suggested merging watch and fields, but do you have a recommended way of doing this? Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
bluebill1049
Oct 7, 2020
Replies: 1 comment 8 replies
-
|
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
solace
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
append([])
?