fieldArray items not being stored in array #1915
-
Hi everyone! I was hoping someone might be able to help with this as I've been racking my brain on this for a few days and can't figure it out. I have a large form that I was to break up into sub-components. However when trying to use a fieldArray the different fields aren't stored in their own array, they're stored at the root of the form object. This is what the current form data looks like:
This is what I need the form data to look like:
I've attached a codesandbox for reference, I'd really appreciate the help and thank you! :-) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
getValue({ nest: true }) we are fixing this on V6 FYI getValue() in v6 will return nested value by default. |
Beta Was this translation helpful? Give feedback.
getValue({ nest: true }) we are fixing this on V6 FYI
getValue() in v6 will return nested value by default.