Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/v2/generateUISchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ export const generateUISchema = (schema: V2Schema): JSONFormsUISchema => {

// Only create layout if section is active and has content
if (section?.isActive && (hasFields || hasHeaders)) {
const sectionControls = sectionFields.map(({ name, property, uiField }) =>
createControl(name, property, uiField)
const sectionControls = sectionFields.map(({ name, property, uiField }) =>
createControl(name, property, uiField, schema)
);

const sectionLayout = createSectionLayout(sectionId, section, sectionControls, schema.ui.headers);
sectionLayouts.push(sectionLayout);
}
Expand Down
Loading