diff --git a/shesha-reactjs/src/designer-components/_settings/settingsCollapsiblePanel.tsx b/shesha-reactjs/src/designer-components/_settings/settingsCollapsiblePanel.tsx index 79638c4e6..2226aadf1 100644 --- a/shesha-reactjs/src/designer-components/_settings/settingsCollapsiblePanel.tsx +++ b/shesha-reactjs/src/designer-components/_settings/settingsCollapsiblePanel.tsx @@ -28,7 +28,7 @@ const SettingsCollapsiblePanel: FC = (props) => return ( {show - ? + ? : null} ); diff --git a/shesha-reactjs/src/designer-components/address/settings.tsx b/shesha-reactjs/src/designer-components/address/settings.tsx index 94ee3295c..aceb1b6aa 100644 --- a/shesha-reactjs/src/designer-components/address/settings.tsx +++ b/shesha-reactjs/src/designer-components/address/settings.tsx @@ -36,7 +36,7 @@ const AddressSettings: FC> = ({ return ( <> - + > = ({ - + > = ({ - + > = ({ /> - + - + - + @@ -50,13 +50,13 @@ const ButtonGroupSettings: FC - + - + > = () => { return ( <> - + > = () => { - + > = () => { - + @@ -81,7 +81,7 @@ const ChildEntitiesTagGroupSettings: FC - + {/* - + @@ -487,7 +487,7 @@ const DataListSettings: FC> = - + @@ -515,7 +515,7 @@ const DataListSettings: FC> = - + @@ -531,7 +531,7 @@ const DataListSettings: FC> = - + } - + @@ -53,7 +53,7 @@ const DataSourceSettings: FC - + > = (props - + > = (props - + @@ -393,7 +393,7 @@ const TableSettings: FC> = (props - + @@ -409,7 +409,7 @@ const TableSettings: FC> = (props - + - + - + @@ -128,7 +128,7 @@ const EntityReferenceSettings: FC - + @@ -136,7 +136,7 @@ const EntityReferenceSettings: FC - + @@ -232,7 +232,7 @@ const EntityReferenceSettings: FC - + @@ -260,7 +260,7 @@ const EntityReferenceSettings: FC - + @@ -270,7 +270,7 @@ const EntityReferenceSettings: FC - + > = (props) => { return ( <> - + @@ -44,7 +44,7 @@ const KanbanSettings: FC> = (props) => { - + > = (props) => { {/* Column Styles */} - + > = (props) => { {/* Header Styles */} - + - + - + - + > = (p return ( <> - + > = (p )} - + > = (p - + > = (p /> - + @@ -520,7 +520,7 @@ const SubFormSettings: FC> = (p - + > = (props) = return ( <> - + @@ -77,7 +77,7 @@ const TabSettings: FC> = (props) = - + readOnly={readOnly} @@ -99,7 +99,7 @@ const TabSettings: FC> = (props) = - + > = (props) = - + > = (pro return ( <> - + @@ -157,7 +157,7 @@ const WizardSettings: FC> = (pro - + readOnly={readOnly} @@ -190,7 +190,7 @@ const WizardSettings: FC> = (pro - + > = (pro - + { hidden?: boolean | IPropertySetting; @@ -123,7 +124,12 @@ export class DesignerToolbarSettings { public addCollapsiblePanel( props: ICollapsiblePanelPropsEditorType | ((data: T) => ICollapsiblePanelPropsEditorType) ) { - return this.addProperty(props, 'collapsiblePanel'); + const collapsibleProps: typeof props = { + ...props, + id: nanoid(), + hasHeaderBorder: false, + }; + return this.addProperty(collapsibleProps, 'collapsiblePanel'); } public addDropdown(props: DropdownType | ((data: T) => DropdownType)) {