Package io. kvision. form. select
Contains a simple select component as well as a full-featured component with support for remote (AJAX) data source.
Types
Link copied to clipboard
open class SimpleSelectRemote<T : Any>(serviceManager: <ERROR CLASS><T>, function: suspend T.(String?) -> List<<ERROR CLASS>>, stateFunction: () -> String?, value: String?, name: String?, emptyOption: Boolean, multiple: Boolean, selectSize: Int?, label: String?, rich: Boolean, init: SimpleSelectRemote<T>.() -> Unit?)
Content copied to clipboard
The form field component for SelectRemote control.
Link copied to clipboard
open class SimpleSelectRemoteInput<T : Any>(serviceManager: <ERROR CLASS><T>, function: suspend T.(String?) -> List<<ERROR CLASS>>, stateFunction: () -> String?, value: String?, emptyOption: Boolean, multiple: Boolean, selectSize: Int?, className: String?, init: SimpleSelectRemoteInput<T>.() -> Unit?)
Content copied to clipboard
The SimpleSelect control connected to the fullstack service.
Functions
Link copied to clipboard
fun <T : Any> <ERROR CLASS>.simpleSelectRemote(serviceManager: <ERROR CLASS><T>, function: suspend T.(String?) -> List<<ERROR CLASS>>, stateFunction: () -> String? = null, value: String? = null, name: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, label: String? = null, rich: Boolean = false, init: SimpleSelectRemote<T>.() -> Unit? = null): SimpleSelectRemote<T>
Content copied to clipboard
DSL builder extension function.
Link copied to clipboard
fun <T : Any> <ERROR CLASS>.simpleSelectRemoteInput(serviceManager: <ERROR CLASS><T>, function: suspend T.(String?) -> List<<ERROR CLASS>>, stateFunction: () -> String? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, className: String? = null, init: SimpleSelectRemoteInput<T>.() -> Unit? = null): SimpleSelectRemoteInput<T>
Content copied to clipboard
DSL builder extension function.