Is there any way to handle nested withFormGroup? #1647
Unanswered
JakubFaltyn
asked this question in
Q&A
Replies: 1 comment
-
Are you giving the field group actual defaultValues or just using When you give it the string |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've spent more time than I wanted on this topic. When I'm nesting withFormGroups, the nested ones aren't working well. withFormGroup expects a form prop, but since we don't have it directly within withFormGroups, I've been passing it as form={group}. While this passes type checks, it doesn't actually send any data, like defaultValues, from the parent form to this nested field group.
Example(this exists in another withFieldGroup):
<DimensionsFieldGroup form={group} fields={'format.dimensions'} />
Beta Was this translation helpful? Give feedback.
All reactions