Skip to content

Flat arrays #7770

Feb 7, 2022 · 2 comments · 12 replies
Discussion options

You must be logged in to vote

RHF doesn't support flat arrays ATM.
Ref: RHF docs on useFieldArray:

Name of the field. Important: make sure name is in object shape: name=test.0.name as we don't support flat arrays.

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
12 replies
@bluebill1049
Comment options

@emil-malmgaard-rasmussen
Comment options

@bluebill1049
Comment options

@pfcodes
Comment options

@memben
Comment options

Answer selected by bluebill1049
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants