Package io.kvision.form.select

Types

SelectRemote
Link copied to clipboard
open class SelectRemote<T : Any>(serviceManager: KVServiceMgr<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: () -> String?, value: String?, name: String?, multiple: Boolean, ajaxOptions: AjaxOptions?, preload: Boolean, label: String?, rich: Boolean, init: SelectRemote<T>.() -> Unit?) : SimplePanel, StringFormControl, MutableState<String?>
The form field component for SelectRemote control.
SelectRemoteInput
Link copied to clipboard
open class SelectRemoteInput<T : Any>(serviceManager: KVServiceMgr<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: () -> String?, value: String?, multiple: Boolean, ajaxOptions: AjaxOptions?, preload: Boolean, classes: Set<String>, init: SelectRemoteInput<T>.() -> Unit?) : SelectInput
The Select control connected to the multiplatform service.

Functions

bindTo
Link copied to clipboard
fun <T : Any> SelectRemoteInput<T>.bindTo(state: MutableState<String?>): SelectRemoteInput<T>
Bidirectional data binding to the MutableState instance.
fun <T : Any> SelectRemoteInput<T>.bindTo(state: MutableState<String>): SelectRemoteInput<T>
Bidirectional data binding to the MutableState instance.
fun <T : Any> SelectRemote<T>.bindTo(state: MutableState<String?>): SelectRemote<T>
Bidirectional data binding to the MutableState instance.
fun <T : Any> SelectRemote<T>.bindTo(state: MutableState<String>): SelectRemote<T>
Bidirectional data binding to the MutableState instance.
decodeURIComponent
Link copied to clipboard
external fun decodeURIComponent(encodedURI: String): String
selectRemote
Link copied to clipboard
fun <T : Any> Container.selectRemote(serviceManager: KVServiceMgr<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: () -> String? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, label: String? = null, rich: Boolean = false, init: SelectRemote<T>.() -> Unit? = null): SelectRemote<T>
DSL builder extension function.
selectRemoteInput
Link copied to clipboard
fun <T : Any> Container.selectRemoteInput(serviceManager: KVServiceMgr<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: () -> String? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, classes: Set<String>? = null, className: String? = null, init: SelectRemoteInput<T>.() -> Unit? = null): SelectRemoteInput<T>
DSL builder extension function.