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

<init>

(js) Select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = 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

name - the name attribute of the generated HTML input element

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

ajaxOptions - additional options for remote (AJAX) data source

label - label text bound to the input element

rich - determines if label can contain HTML code

Constructor