OmniDataEditor API
Preparing search index...
@omnidataeditor/field-async-select
AsyncSelectOptions
Interface AsyncSelectOptions<V>
interface
AsyncSelectOptions
<
V
>
{
debounceMs
?:
number
;
formatValue
?:
(
value
:
V
)
=>
string
;
getKey
:
(
value
:
V
)
=>
EntityKey
;
isValue
:
(
value
:
unknown
)
=>
value
is
V
;
load
:
(
query
:
string
,
context
:
{
signal
:
AbortSignal
}
,
)
=>
Promise
<
readonly
AsyncSelectOption
<
V
>
[]
>
;
messages
?:
Readonly
<
Record
<
string
,
string
>
>
;
minimumQueryLength
?:
number
;
}
Type Parameters
V
Index
Properties
debounce
Ms?
format
Value?
get
Key
is
Value
load
messages?
minimum
Query
Length?
Properties
Optional
Readonly
debounce
Ms
debounceMs
?:
number
Optional
Readonly
format
Value
formatValue
?:
(
value
:
V
)
=>
string
Readonly
get
Key
getKey
:
(
value
:
V
)
=>
EntityKey
Readonly
is
Value
isValue
:
(
value
:
unknown
)
=>
value
is
V
Readonly
load
load
:
(
query
:
string
,
context
:
{
signal
:
AbortSignal
}
,
)
=>
Promise
<
readonly
AsyncSelectOption
<
V
>
[]
>
Optional
Readonly
messages
messages
?:
Readonly
<
Record
<
string
,
string
>
>
Optional
Readonly
minimum
Query
Length
minimumQueryLength
?:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
debounce
Ms
format
Value
get
Key
is
Value
load
messages
minimum
Query
Length
OmniDataEditor API
Loading...