Skip to main content

Interface: ReferenceDialogProps

Properties

collectionResolver

โ€ข collectionResolver: EntityCollectionResolver<any>

Entity collection config

Defined in

core/components/ReferenceDialog.tsx:47


multiselect

โ€ข multiselect: boolean

Allow multiple selection of values

Defined in

core/components/ReferenceDialog.tsx:42


open

โ€ข open: boolean

Is the dialog currently open

Defined in

core/components/ReferenceDialog.tsx:37


path

โ€ข path: string

Absolute path of the collection

Defined in

core/components/ReferenceDialog.tsx:52


selectedEntityIds

โ€ข Optional selectedEntityIds: string[]

If you are opening the dialog for the first time, you can select some entity ids to be displayed first.

Defined in

core/components/ReferenceDialog.tsx:58

Methods

onClose

โ–ธ onClose(): void

Is the dialog currently open

Returns

void

Defined in

core/components/ReferenceDialog.tsx:80


onMultipleEntitiesSelected

โ–ธ Optional onMultipleEntitiesSelected(entities): void

If multiselect is set to true, you will get the selected entities in this callback.

Parameters

NameType
entitiesEntity<any>[]

Returns

void

Defined in

core/components/ReferenceDialog.tsx:74


onSingleEntitySelected

โ–ธ Optional onSingleEntitySelected(entity): void

If multiselect is set to false, you will get the select entity in this callback.

Parameters

NameType
entitynull | Entity<any>

Returns

void

Defined in

core/components/ReferenceDialog.tsx:66