OnsSelectInput

open class OnsSelectInput(options: List<<Error class: unknown class>>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, selectId: String? = null, className: String? = null, init: OnsSelectInput.() -> Unit? = null)

OnsenUI 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

Constructors

Link copied to clipboard
constructor(options: List<<Error class: unknown class>>? = 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.

Properties

Link copied to clipboard

A modifier attribute to specify custom styles.

Link copied to clipboard

The ID of the select element.

Functions

Link copied to clipboard
open fun afterInsert(node: <Error class: unknown class>)
Link copied to clipboard
open fun buildAttributeSet(attributeSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun calculateValue(v: Any?): String?
Link copied to clipboard
open fun refreshState()
Link copied to clipboard
open fun render(): <Error class: unknown class>