@serenity-is/corelib / ComboboxOptions
• TSource = any
optional
allowClear:boolean
optional
arbitraryValues:boolean
Allow arbitrary values for items
optional
createSearchChoice: (s
) =>ComboboxItem
<TSource
>
string
ComboboxItem
<TSource
>
optional
element:HTMLInputElement
|HTMLSelectElement
|Element
[]
optional
formatResult: (p1
) =>ComboboxFormatResult
ComboboxItem
<TSource
>
optional
formatSelection: (p1
) =>ComboboxFormatResult
ComboboxItem
<TSource
>
optional
minimumResultsForSearch:number
optional
multiple:boolean
optional
pageSize:number
Page size to use while loading or displaying results
optional
placeholder:string
optional
providerOptions: (type
,opt
) =>any
Callback to get options specific to the combobox provider type
"select2"
ComboboxOptions
<any
>
any
optional
search: (query
) =>ComboboxSearchResult
<ComboboxItem
<TSource
>> |PromiseLike
<ComboboxSearchResult
<ComboboxItem
<TSource
>>>
ComboboxSearchResult
<ComboboxItem
<TSource
>> | PromiseLike
<ComboboxSearchResult
<ComboboxItem
<TSource
>>>
optional
typeDelay:number
Type delay for searching, default is 200