Replace whole array data in useFieldArray #1877
-
Hi Im using useFieldArray with: that is filled with some data for example 10 rows. Is there a posibility to replace whole data at once with something like |
Beta Was this translation helpful? Give feedback.
Answered by
bluebill1049
Jun 16, 2020
Replies: 1 comment
-
try it with https://codesandbox.io/s/react-hook-form-usefieldarray-template-mxmuw |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
darthmat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
try it with
reset
https://codesandbox.io/s/react-hook-form-usefieldarray-template-mxmuw