ComboboxItem
Overview
A selectable option within ComboboxList.
Theme entry: ComboboxItem
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| themeOverride | Object | null | A partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants. | |
| class | import('vue').HTMLAttributes['class'] | undefined | Additional CSS classes to apply to the root element. | |
| value | string|number|boolean|object | yes | The value submitted with the form. | |
| disabled | boolean | undefined | When true, prevents user interaction. | |
| textValue | string | undefined | Plain-text representation used for autocomplete matching. | |
| as | string|object | undefined | The HTML element or component to render as. | |
| asChild | boolean | undefined | Whether to render as a child element. |
Slots
default
Slot.
Events
| Name | Description |
|---|---|
select | Emitted when an item is selected. |
Source
client/lib/controls/combobox/ComboboxItem.vue