kvision / pl.treksoft.kvision.form.select / SelectOption / <init>

<init>

SelectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf())

Parameters

value - the value of the option

label - the label of the option

subtext - the small subtext after the label of the option

icon - the icon before the label of the option

divider - renders this option as a divider

disabled - renders a disabled option

classes - a set of CSS class names

Constructor