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

<init>

SelectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)

Parameters

value - selected value

serviceManager - multiplatform service manager

function - multiplatform service method returning the list of options

name - the name attribute of the generated HTML input element

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

ajaxOptions - additional options for remote data source

label - label text bound to the input element

rich - determines if label can contain HTML code

Constructor