Skip to content

@sqlrooms/ui / UseComboboxOptions

Interface: UseComboboxOptions<T> ​

Options for the shared combobox state hook.

Type Parameters ​

Type ParameterDefault type
T extends stringstring

Properties ​

value ​

value: T


onChange ​

onChange: (value) => void

Parameters ​

ParameterType
valueT

Returns ​

void


disabled? ​

optional disabled?: boolean

Prevent opening the popover and committing selections.