OnsSelectInput

constructor(options: List<<Error class: unknown class><String, String>>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, selectId: String? = null, className: String? = null, 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

className

CSS class names

init

an initializer extension function