Overview
KListboxOption is a single option inside KListbox. See
KListbox for guidance and examples.
Props
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
value | A unique value identifying the option within a listbox | string|number | — | true |
label | Option label also used as the accessible name | string | — | true |
indeterminate | Indeterminate visual state for group checkboxes. | boolean |
false
| — |
showCheckbox | When true (default), wraps the option label in a KCheckbox for
multi-select use cases. When false, renders a plain label — used
when checkboxes are not meaningful (e.g. single-select, or
hideSelected mode where selected items are already removed from the list). | boolean |
true
| — |
Slots
| Name | Description |
|---|---|
default | For customizing option label |