interface

FieldReferenceBrowserProps

interface FieldReferenceBrowserProps { ... }

Props for the framework-owned reference picker.

Source packages/plugin/src/index.ts:4

openboolean
The open value.
fieldSchemaField
The field value.
collectionSchemaCollection
The collection value.
hasManyboolean
The hasMany value.
selectedIDsreadonly string[]
The selectedIDs value.
readOnlyboolean
The readOnly value.
initialDocumentFieldDocument
The initialDocument value.
initialDocumentIDstring
The initialDocumentID value.
optionFilterFieldReferenceFilter | readonly FieldReferenceFilter[]
The optionFilter value.
defaultValuesReadonly<Record<string, unknown>>
The defaultValues value.
allowCreateboolean
The allowCreate value.
localestring
The locale value.
onCommit(ids: string[]) => void | boolean | Promise<void | boolean>
The onCommit value.
onClose() => void
The onClose value.

Methods