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
(js)

CheckInput

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

abstract class CheckInput : Widget, FormInput
(js)

DateTimeInput

Basic date/time chooser component.

open class DateTimeInput : SimplePanel, FormInput
(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
(js)

RangeInput

Range input component.

open class RangeInput : Widget, FormInput
(js)

SelectInput

The basic component for Select control.

open class SelectInput : SimplePanel, FormInput
(js)

SimpleSelectInput

Simple select component.

open class SimpleSelectInput : SimplePanel, FormInput
(js)

SpinnerInput

The basic component for spinner control.

open class SpinnerInput : Widget, FormInput
(js)

UploadInput

The file upload component.

open class UploadInput : Widget, FormInput