Skip to main content

Interface: SideEntityController

Controller to open the side dialog displaying entity forms

Properties#

close#

close: () => void

Close the last panel

Type declaration#

▸ (): void

Returns#

void

Defined in#

models/side_entity_controller.tsx:40


open#

open: (props: SideEntityPanelProps & Partial<SchemaConfig<any>> & { overrideSchemaResolver?: boolean }) => void

Open a new entity sideDialog. By default, the schema and configuration of the view is fetched from the collections you have specified in the navigation. At least you need to pass the path of the entity you would like to edit. You can set an entityId if you would like to edit and existing one (or a new one with that id). If you wish, you can also override the SchemaSidePanelProps and choose to override the FireCMS level SchemaResolver.

param

Type declaration#

▸ (props): void

Parameters#
NameType
propsSideEntityPanelProps & Partial<SchemaConfig<any>> & { overrideSchemaResolver?: boolean }
Returns#

void

Defined in#

models/side_entity_controller.tsx:58


sidePanels#

sidePanels: SideEntityPanelProps[]

List of side entity panels currently open

Defined in#

models/side_entity_controller.tsx:45