Subform should have JSON field data nested inside subform object #1222
jeff-wursta
started this conversation in
Ideas
Replies: 1 comment
-
Hello, thanks for this proposal but subforms are now mostly just styling components and helpers to group fields (so you can hide them with a single condition, etc.) You can achieve this behavior by using dot name notation in the nested fields: |
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.
-
Using the following libraries and versions:
When using a subform component inside a larger schema, I would expect the fields within the subform to be nested inside a JSON object with the key being the name of the subform. Instead, all of the subform field data is inline with the top-level form fields.
Schema w/ simple form:
Resulting output from
onSubmit
:Expected output:
Beta Was this translation helpful? Give feedback.
All reactions