Type Alias: ReferenceWidgetProps<M>
ReferenceWidgetProps<
M
>:object
Type Parameters​
• M extends Record
<string
, any
>
Type declaration​
className?​
optional
className:string
disabled?​
optional
disabled:boolean
forceFilter?​
optional
forceFilter:FilterValues
<string
>
Allow selection of entities that pass the given filter only.
includeEntityLink?​
optional
includeEntityLink:boolean
includeId?​
optional
includeId:boolean
multiselect?​
optional
multiselect:boolean
name?​
optional
name:string
onMultipleReferenceSelected()?​
optional
onMultipleReferenceSelected: (params
) =>void
Parameters​
• params
• params.entities: Entity
<M
>[] | null
• params.references: EntityReference
[] | null
Returns​
void
onReferenceSelected()?​
optional
onReferenceSelected: (params
) =>void
Parameters​
• params
• params.entity: Entity
<M
> | null
• params.reference: EntityReference
| null
Returns​
void
path​
path:
string
previewProperties?​
optional
previewProperties:string
[]
size​
size:
PreviewSize
value​
value:
EntityReference
|EntityReference
[] |null