interface
FieldReferenceBrowserProps
Props for the framework-owned reference picker.
Properties
| Property | Type | Description |
|---|---|---|
open | boolean | The open value. |
field | SchemaField | The field value. |
collection | SchemaCollection | The collection value. |
collections | readonly SchemaCollection[] | Optional collection choices. Only readable collections are offered; switching clears the current list query and uncommitted selection. |
hasMany | boolean | The hasMany value. |
selectedIDs | readonly string[] | The selectedIDs value. |
readOnly | boolean | The readOnly value. |
initialDocument | FieldDocument | The initialDocument value. |
initialDocumentID | string | The initialDocumentID value. |
initialCreate | boolean | Open a new document form immediately when creation is permitted. |
initialFile | File | File dropped into an upload field; opens a new metadata form before any upload is saved. |
optionFilter | FieldReferenceFilter | | The optionFilter value. |
defaultValues | Readonly< | The defaultValues value. |
allowCreate | boolean | The allowCreate value. |
locale | string | The locale value. |
onCommit | (ids: string[], | The onCommit value. |
onClose | () => void | The onClose value. |
Full signature
interface FieldReferenceBrowserProps { ... }Methods
FieldReferenceBrowserProps.onClose()Public method FieldReferenceBrowserProps.onClose from @riducms/plugin.
FieldReferenceBrowserProps.onCommit()Public method FieldReferenceBrowserProps.onCommit from @riducms/plugin.