kvision / pl.treksoft.kvision.form / FormInput

FormInput

(js) interface FormInput : Component

Properties

(js)

disabled

Determines if the field is disabled.

abstract var disabled: Boolean
(js)

name

The name attribute of the generated HTML input element.

abstract var name: String?
(js)

size

Input control field size.

abstract var size: InputSize?
(js)

validationStatus

Input control validation status.

abstract var validationStatus: ValidationStatus?

Functions

(js)

blur

Makes the input element blur.

abstract fun blur(): Unit
(js)

focus

Makes the input element focused.

abstract fun focus(): Unit

Extension Functions

(js)

addBsBgColor

fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
(js)

addBsBorder

fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
(js)

addBsClearfix

fun Component.addBsClearfix(): Unit
(js)

addBsColor

fun Component.addBsColor(bsColor: BsColor): Unit
(js)

addBsRounded

fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
(js)

removeBsBgColor

fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
(js)

removeBsBorder

fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
(js)

removeBsClearfix

fun Component.removeBsClearfix(): Unit
(js)

removeBsColor

fun Component.removeBsColor(bsColor: BsColor): Unit
(js)

removeBsRounded

fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit

Inheritors

(js)

AbstractTextInput

Base class for basic text components.

abstract class AbstractTextInput : Widget, FormInput, ObservableState<String?>
(js)

CheckInput

The basic input component rendered as HTML input type="checkbox" or input type="radio".

abstract class CheckInput : Widget, FormInput, ObservableState<Boolean>
(js)

DateTimeInput

Basic date/time chooser component.

open class DateTimeInput : SimplePanel, FormInput, ObservableState<Date?>
(js)

OnsDateTimeInput

OnsenUI date/time input component.

open class OnsDateTimeInput : Widget, FormInput, ObservableState<Date?>
(js)

OnsNumberInput

OnsenUI number input component.

open class OnsNumberInput : Widget, FormInput, ObservableState<Number?>
(js)

OnsRadioGroupInput

The input component rendered as a group of Onsen UI radio buttons with the same name attribute.

open class OnsRadioGroupInput : SimplePanel, FormInput, ObservableState<String?>
(js)

RadioGroupInput

The input component rendered as a group of HTML input type="radio" elements with the same name attribute.

open class RadioGroupInput : SimplePanel, FormInput, ObservableState<String?>
(js)

RangeInput

Range input component.

open class RangeInput : Widget, FormInput, ObservableState<Number?>
(js)

SelectInput

The basic component for Select control.

open class SelectInput : SimplePanel, FormInput, ObservableState<String?>
(js)

SimpleSelectInput

Simple select component.

open class SimpleSelectInput : SimplePanel, FormInput, ObservableState<String?>
(js)

SpinnerInput

The basic component for spinner control.

open class SpinnerInput : Widget, FormInput, ObservableState<Number?>
(js)

UploadInput

The file upload component.

open class UploadInput : Widget, FormInput