diff --git a/src/qqq/components/forms/EntityForm.tsx b/src/qqq/components/forms/EntityForm.tsx index 161d3a1..ea2032d 100644 --- a/src/qqq/components/forms/EntityForm.tsx +++ b/src/qqq/components/forms/EntityForm.tsx @@ -502,7 +502,7 @@ function EntityForm(props: Props): JSX.Element ///////////////////////////////////////////////// const tableSections = TableUtils.getSectionsForRecordSidebar(tableMetaData, [...tableMetaData.fields.keys()], (section: QTableSection) => { - const widget = metaData?.widgets.get(section.widgetName); + const widget = metaData?.widgets?.get(section.widgetName); if (widget) { if (widget.type == "childRecordList" && widget.defaultValues?.has("manageAssociationName")) @@ -1152,11 +1152,11 @@ function EntityForm(props: Props): JSX.Element { !props.isModal && - + } - +