TomTypeaheadRemoteInput

constructor(serviceManager: <Error class: unknown class><T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: () -> String? = null, type: InputType = InputType.TEXT, value: String? = null, tsCallbacks: TomSelectCallbacks? = null, requestFilter: suspend <Error class: unknown class>.() -> Unit? = null, className: String? = null, init: TomTypeaheadRemoteInput<T>.() -> Unit? = null)

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