SelectItem
Overview
A selectable option within SelectContent.
Theme entry: SelectItem
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| iconOverride | Object | null | A partial icon registry ({ [componentName]: { [iconName]: { component, props } } }) merged with inherited and default icon entries; scopes icon overrides to this component and its descendants. | |
| themeOverride | String|Object|Array | null | A partial theme object merged with the component's default theme; accepts a class string, class array, or theme object. | |
| 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 typeahead. | |
| 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.
Source
client/lib/controls/select/SelectItem.vue