OnsSelect

constructor(options: List<<Error class: unknown class><String, String>>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsSelect.() -> Unit? = null)

Creates a form field select component.

Parameters

options

an optional list of options (label to value pairs) for the group

value

selected option

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 of the options group

rich

determines if label can contain HTML code

className

CSS class names

init

an initializer extension function