LookupSource
Where a Lookup field’s options come from while the respondent types. EbitexForm supplies one
that calls the form’s own public endpoint, so an embedded form needs nothing from you; pass your own
as the lookup prop to route searches elsewhere (a proxy of yours, or a fake in a test).
Reject (or throw) when the search cannot be made: the field then falls back to a plain text input,
which is always a usable way to answer. Honour signal: it fires when the respondent keeps typing.
Methods
Section titled “Methods”search()
Section titled “search()”search(
field,query,signal):Promise<ChoiceOption[]>
Parameters
Section titled “Parameters”string
string
signal
Section titled “signal”AbortSignal
Returns
Section titled “Returns”Promise<ChoiceOption[]>