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

<init>

(js) SimpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, 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

multiple - allows multiple value selection (multiple values are comma delimited)

selectSize - the number of visible options

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