Components
Combobox
Type to filter, arrow to move, Enter to pick. The list opens in place; an empty query never becomes a dead end.
Usage
A large option set that needs search or a create row.
Do and don't
- Do. Inject verified data and keep the items array stable.
- Don't. Use it for three short options; use Select or Radio Group.
Composition
Compose Combobox with ComboboxInput, ComboboxContent, ComboboxList, ComboboxItem and ComboboxEmpty. ComboboxChips renders selected values when multiple is set.
Props
items; an array of strings or objects with avalueandlabel.value/defaultValue/onValueChange; a string, or string[] withmultiple.filter; replace the default case-insensitive label match.onCreate/createLabel; offer a create row when no item matches the query.hideSelected,disabled,name,required,size.
For Philippine locations
Region, province, city and barangay selection from the PSGC hierarchy. Values come from a verified PSA export (quarterly, no official API) and are never bundled by the registry.
No region selected yet.
Related
Shares field wiring with Text Field and the same size ladder as the other controls. List rows use the Colors hover and selected fills.