@sqlrooms/ui / UseComboboxOptions
Interface: UseComboboxOptions<T>
Options for the shared combobox state hook.
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends string | string |
Properties
value
value:
T
onChange
onChange: (
value) =>void
Parameters
| Parameter | Type |
|---|---|
value | T |
Returns
void
disabled?
optionaldisabled?:boolean
Prevent opening the popover and committing selections.