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 TomSelectRemote<out T : Any>(serviceManager: KVServiceMgr<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: () -> String? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, maxOptions: Int? = null, tsOptions: TomSelectOptions? = null, tsCallbacks: TomSelectCallbacks? = null, tsRenders: TomSelectRenders? = null, preload: Boolean = false, openOnFocus: Boolean = false, requestFilter: suspend RequestInit.() -> Unit? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: TomSelectRemote<T>.() -> Unit? = null) : SimplePanel, StringFormControl, MutableState<String?>

The form field component for TomSelectRemote control.

Link copied to clipboard
open class TomSelectRemoteInput<out T : Any>(serviceManager: KVServiceMgr<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: () -> String? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, maxOptions: Int? = null, tsOptions: TomSelectOptions? = null, tsCallbacks: TomSelectCallbacks? = null, tsRenders: TomSelectRenders? = null, preload: Boolean = false, openOnFocus: Boolean = false, requestFilter: suspend RequestInit.() -> Unit? = null, className: String? = null, init: TomSelectRemoteInput<T>.() -> Unit? = null) : TomSelectInput

The TomSelectInput control connected to the fullstack service.

Functions

Link copied to clipboard
fun <T : Any> Container.tomSelectRemote(serviceManager: KVServiceMgr<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: () -> String? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, maxOptions: Int? = null, tsOptions: TomSelectOptions? = null, tsCallbacks: TomSelectCallbacks? = null, tsRenders: TomSelectRenders? = null, preload: Boolean = false, openOnFocus: Boolean = false, requestFilter: suspend RequestInit.() -> Unit? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: TomSelectRemote<T>.() -> Unit? = null): TomSelectRemote<T>

DSL builder extension function.

Link copied to clipboard
fun <T : Any> Container.tomSelectRemoteInput(serviceManager: KVServiceMgr<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: () -> String? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, maxOptions: Int? = null, tsOptions: TomSelectOptions? = null, tsCallbacks: TomSelectCallbacks? = null, tsRenders: TomSelectRenders? = null, preload: Boolean = false, openOnFocus: Boolean = false, requestFilter: suspend RequestInit.() -> Unit? = null, className: String? = null, init: TomSelectRemoteInput<T>.() -> Unit? = null): TomSelectRemoteInput<T>

DSL builder extension function.