Select Remote Input
open class SelectRemoteInput<T : Any>( serviceManager: <Error class: unknown class><T>, function: suspend T.(String?, String?, String?) -> List<<Error class: unknown class>>, stateFunction: () -> String? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: <Error class: unknown class>? = null, preload: Boolean = false, className: String? = null, init: SelectRemoteInput<T>.() -> Unit? = null)
Content copied to clipboard
The Select control connected to the fullstack service.
Parameters
value
selected value
service Manager
fullstack service manager
function
fullstack service method returning the list of options
state Function
a function to generate the state object passed with the remote request
multiple
allows multiple value selection (multiple values are comma delimited)
ajax Options
additional options for remote data source
preload
preload all options from remote data source
class Name
CSS class names
init
an initializer extension function
Constructors
Link copied to clipboard
fun <T : Any> SelectRemoteInput( serviceManager: <Error class: unknown class><T>, function: suspend T.(String?, String?, String?) -> List<<Error class: unknown class>>, stateFunction: () -> String? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: <Error class: unknown class>? = null, preload: Boolean = false, className: String? = null, init: SelectRemoteInput<T>.() -> Unit? = null)
Content copied to clipboard