kvision / pl.treksoft.kvision.form.select

Package pl.treksoft.kvision.form.select

Full-featured select component with support for remote (AJAX) data source.

Types

AjaxOptions

data class AjaxOptions

Data class for AJAX options.

DataType

enum class DataType

Data type for the AJAX call.

HttpType

enum class HttpType

HTTP protocol type for the AJAX call.

Select

open class Select : SimplePanel, StringFormControl

The form field component for Select control.

SelectInput

open class SelectInput : SimplePanel, FormInput

The basic component for Select control.

SelectOptGroup

open class SelectOptGroup : SimplePanel

The helper container for adding option groups to Select.

SelectOption

open class SelectOption : Widget

The helper component for adding options to Select or SelectOptGroup.

SelectRemote

open class SelectRemote<T : Any> : SimplePanel, StringFormControl

The form field component for SelectRemote control.

SelectRemoteInput

open class SelectRemoteInput<T : Any> : SelectInput

The Select control connected to the multiplatform service.

SelectWidthType

enum class SelectWidthType

Select width types. See Bootstrap Select width.

SimpleSelect

open class SimpleSelect : SimplePanel, StringFormControl

The form field component for SimpleSelect control.

SimpleSelectInput

open class SimpleSelectInput : SimplePanel, FormInput

Simple select component.

Functions

decodeURIComponent

external fun decodeURIComponent(encodedURI: String): String

toJs

fun AjaxOptions.toJs(emptyOption: Boolean): dynamic

Convert AjaxOptions to JavaScript JSON object.