Select Remote Input
open class SelectRemoteInput<out T : Any>(serviceManager: <Error class: unknown class><T>, function: suspend T.(String?) -> List<<Error class: unknown class>>, stateFunction: () -> String? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, requestFilter: suspend <Error class: unknown class>.() -> Unit? = null, className: String? = null, init: SelectRemoteInput<T>.() -> Unit? = null)
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
empty Option
determines if an empty option is automatically generated
multiple
allows multiple value selection (multiple values are comma delimited)
select Size
the number of visible options
request Filter
a request filtering function
class Name
CSS class names
init
an initializer extension function
Constructors
Link copied to clipboard
constructor(serviceManager: <Error class: unknown class><T>, function: suspend T.(String?) -> List<<Error class: unknown class>>, stateFunction: () -> String? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, requestFilter: suspend <Error class: unknown class>.() -> Unit? = null, className: String? = null, init: SelectRemoteInput<T>.() -> Unit? = null)