@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 Parameter | Default type |
|---|---|
T extends string | string |
Parameters
| Parameter | Type |
|---|---|
options | UseComboboxOptions<T> |