You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Subform should have JSON field data nested inside subform object #1221
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:
constschema={fields: [{name: "formField",label: "Top Level Field",component: "text-field",},{component: "sub-form",title: "Subform",description: "This is a subform",name: "subform",fields: [{name: "subformField",label: "Sub Form Field",component: "text-field",},],},],};constSubFormTest=()=>(<Gridspacing={4}container><FormRenderercomponentMapper={componentMapper}FormTemplate={FormTemplate}schema={schema}onSubmit={(data)=>console.warn(data)}onCancel={()=>console.log("Cancel action")}/></Grid>);
Activity