Package-level declarations

Contains a simple select component as well as full-featured components with support for remote data sources.

Types

Link copied to clipboard
open class SelectRemote<out T : Any>(serviceManager: KVServiceMgr<T>, function: suspend T.(String?) -> List<SimpleRemoteOption>, stateFunction: () -> String? = null, value: String? = null, name: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, requestFilter: suspend RequestInit.() -> Unit? = null, label: String? = null, rich: Boolean = false, init: SelectRemote<T>.() -> Unit? = null) : SimplePanel, StringFormControl, MutableState<String?>

The form field component for SelectRemote control.

Link copied to clipboard
open class SelectRemoteInput<out T : Any>(serviceManager: KVServiceMgr<T>, function: suspend T.(String?) -> List<SimpleRemoteOption>, stateFunction: () -> String? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, requestFilter: suspend RequestInit.() -> Unit? = null, className: String? = null, init: SelectRemoteInput<T>.() -> Unit? = null) : SelectInput

The Select control connected to the fullstack service.

Functions

Link copied to clipboard
fun <T : Any> Container.selectRemote(serviceManager: KVServiceMgr<T>, function: suspend T.(String?) -> List<SimpleRemoteOption>, stateFunction: () -> String? = null, value: String? = null, name: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, requestFilter: suspend RequestInit.() -> Unit? = null, label: String? = null, rich: Boolean = false, init: SelectRemote<T>.() -> Unit? = null): SelectRemote<T>

DSL builder extension function.

Link copied to clipboard
fun <T : Any> Container.selectRemoteInput(serviceManager: KVServiceMgr<T>, function: suspend T.(String?) -> List<SimpleRemoteOption>, stateFunction: () -> String? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, requestFilter: suspend RequestInit.() -> Unit? = null, className: String? = null, init: SelectRemoteInput<T>.() -> Unit? = null): SelectRemoteInput<T>

DSL builder extension function.