Skip to main content
Version: 1.0.0

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