TomTypeaheadRemoteInput
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, className: String? = null, init: TomTypeaheadRemoteInput<T>.() -> Unit? = null)(source)
Parameters
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")
value
text input value
tsCallbacks
Tom Select callbacks
requestFilter
a request filtering function
className
CSS class names
init
an initializer extension function