TomTypeaheadRemote
constructor(serviceManager: KVServiceMgr<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: () -> String? = null, type: InputType = InputType.TEXT, value: String? = null, tsCallbacks: TomSelectCallbacks? = null, requestFilter: suspend RequestInit.() -> Unit? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: TomTypeaheadRemote<T>.() -> Unit? = null)(source)
Parameters
value
text input value
serviceManager
fullstack service manager
function
fullstack service method returning the list of options
stateFunction
a function to generate the state object passed with the remote request
type
text input type (default "text")
tsCallbacks
Tom Select callbacks
requestFilter
a request filtering function
name
the name attribute of the generated HTML input element
label
label text bound to the input element
rich
determines if label can contain HTML code
init
an initializer extension function