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
Sets the selection indicator to an indeterminate state. Use when some but not all options within a group are selected.
boolean false
showSelector
Controls whether the selector is shown. By default it is null, which hides it in single-select and shows it in multi-select. Set to true or false to override.
boolean null

Slots

Name Description
default
For customizing option label