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

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!