diff --git a/src/lib/forms/widgets/custom_fields/CustomFields.js b/src/lib/forms/widgets/custom_fields/CustomFields.js index 44680c8e..abe69417 100644 --- a/src/lib/forms/widgets/custom_fields/CustomFields.js +++ b/src/lib/forms/widgets/custom_fields/CustomFields.js @@ -79,7 +79,12 @@ export class CustomFields extends Component { <> {sections && sections.map((section) => { - const { fields, paths, displaySection, section: sectionName } = section; + const { + fields, + paths, + displaySection = true, + section: sectionName, + } = section; return displaySection ? (