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
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?>
Content copied to clipboard
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
Content copied to clipboard
Functions
decodeURIComponent
Link copied to clipboard
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>
Content copied to clipboard
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>
Content copied to clipboard