Forms
Combobox
Searchable select. Customer lookup, item search.
Sourcecombobox.tsx
Combobox
Searchable select. Combines Popover + Command.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
options | { value: string; label: string }[] | -- | List of selectable options. |
value | string | -- | Controlled selected value. |
onValueChange | (value: string) => void | -- | Called when selection changes. |
placeholder | string | "Select..." | Trigger button placeholder. |
searchPlaceholder | string | "Search..." | Search input placeholder. |
emptyText | string | "No results found." | Text when no options match. |
Related
Usage
import { Combobox } from "@doss/tetris-ui";