Skip to components
DEVELOPER REFERENCE · v4.0.0

LookupField API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

LookupField5 props0 callbacks0 methods

Props5

LookupField props
NameTypeDescription
initialRequired
LookupId | LookupId[] | nullInspect type
Initial selected record ID, multiple IDs, or null for an empty selection.
optionsRequired
LookupFieldOptionsInspect type
Remote data source, selection mode, validation, text and commit behavior.
contextRequiredunknownApplication context forwarded to the remote data source as dataContext.
applyRequired
(value: LookupId | LookupId[] | null) => voidInspect type
Commits the selected record IDs. Update application state and close the editor.
cancelRequired
() => voidInspect type
Closes the editor without applying the current draft.

Events and callbacks0

No component-specific events or callbacks.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.