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

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.

SelectWidthType

enum class SelectWidthType

Select width types. See Bootstrap Select width.

Functions

toJs

fun AjaxOptions.toJs(emptyOption: Boolean): dynamic

Convert AjaxOptions to JavaScript JSON object.