TomSelectInput
constructor(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, maxOptions: Int? = null, tsOptions: TomSelectOptions? = null, tsCallbacks: TomSelectCallbacks? = null, tsRenders: TomSelectRenders? = null, className: String? = null, init: TomSelectInput.() -> Unit? = null)(source)
Parameters
options
a static list of options
value
text input value
emptyOption
determines if an empty option is automatically generated
multiple
allows multiple value selection (multiple values are comma delimited)
maxOptions
the number of visible options
tsOptions
Tom Select options
tsCallbacks
Tom Select callbacks
tsRenders
Tom Select render functions
className
CSS class names
init
an initializer extension function