Location Combobox
Combobox tuned for picking countries, cities, or any location-like option. Supports a pinned section at the top for recent or featured items.
Default
Pass options as { value, label } pairs.
With pinned
pinned values appear at the top of the list.
Disabled
Pass disabled to block selection.
API Reference
Props, events, and slots for each sub-component.
LocationCombobox
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| modelValue | string | "" | Selected label. Supports v-model. |
| options | { value, label }[] | [] | Available options. |
| pinned | string[] | [] | Values to surface at the top. |
| placeholder | string | — | Placeholder text. |
| disabled | boolean | false | Disable selection. |
Events
| Event | Description |
|---|---|
| update:modelValue | Fires with the selected value. Enables v-model. |