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

<init>

SimpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false)

Parameters

options - an optional list of options (value to label pairs) for the select control

value - selected value

emptyOption - determines if an empty option is automatically generated

name - the name attribute of the generated HTML input element

label - label text bound to the input element

rich - determines if label can contain HTML code

Constructor