kvision / pl.treksoft.kvision.form.select / SelectRemoteInput / <init>

<init>

SelectRemoteInput(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, classes: Set<String> = setOf())

Parameters

value - selected value

serviceManager - multiplatform service manager

function - multiplatform service method returning the list of options

stateFunction - a function to generate the state object passed with the remote request

multiple - allows multiple value selection (multiple values are comma delimited)

ajaxOptions - additional options for remote data source

preload - preload all options from remote data source

classes - a set of CSS class names

Constructor