Select
open class Select( options: List<<Error class: unknown class>>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: Select.() -> Unit? = null)
Content copied to clipboard
The form field component for Select control.
The select control can be populated directly from options parameter or manually by adding SelectOption or SelectOptGroup components to the container.
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)
ajax Options
additional options for remote (AJAX) data source
label
label text bound to the input element
rich
determines if label can contain HTML code
init
an initializer extension function
Constructors
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Hides dropdown with options.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T> setEventListener(block: <Error class: unknown class><T>.() -> Unit): Int
Content copied to clipboard
Link copied to clipboard
Opens dropdown with options.
Link copied to clipboard
Toggles visibility of dropdown with options.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Extensions
Link copied to clipboard
fun Select.selectOptGroup( label: String, options: List<<Error class: unknown class>>? = null, maxOptions: Int? = null, disabled: Boolean = false, className: String? = null, init: SelectOptGroup.() -> Unit? = null): SelectOptGroup
Content copied to clipboard
DSL builder extension function.
Link copied to clipboard
fun Select.selectOption( value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, className: String? = null, init: SelectOption.() -> Unit? = null): SelectOption
Content copied to clipboard
DSL builder extension function.