kvision / pl.treksoft.kvision.onsenui.form / OnsSelectInput / <init>

<init>

(js) OnsSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, selectId: String? = null, classes: Set<String> = setOf(), init: (OnsSelectInput.() -> Unit)? = null)

Creates a select input component.

Parameters

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

value - text input 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

selectId - the ID of the select element

classes - a set of CSS class names

init - an initializer extension function

Constructor
Creates a select input component.