Skip to content

@sqlrooms/ui / useCombobox

Function: useCombobox()

useCombobox<T>(options): UseComboboxReturn

Shared combobox state and behavior for Popover-based selectors. Handles open/close state and selection with auto-close.

Type Parameters

Type ParameterDefault type
T extends stringstring

Parameters

ParameterType
optionsUseComboboxOptions<T>

Returns

UseComboboxReturn