Skip to main content

Interface: SideEntityController

Controller to open the side dialog displaying entity forms

Properties

sidePanels

sidePanels: SideEntityPanelProps<any, any>[]

List of side entity panels currently open

Defined in

models/side_entity_controller.tsx:80

Methods

close

close(): void

Close the last panel

Returns

void

Defined in

models/side_entity_controller.tsx:75


open

open(props): 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 SchemaConfig and choose to override the FireCMS level SchemaRegistryController.

Parameters

NameType
propsSideEntityPanelProps<any, any>

Returns

void

Defined in

models/side_entity_controller.tsx:93