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​
Name | Type |
---|---|
entities | Entity <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​
Name | Type |
---|---|
entity | null | Entity <any > |
Returns​
void