Tom Typeahead
open class TomTypeahead(options: List<String>? = null, type: <Error class: unknown class> = InputType.TEXT, value: String? = null, tsCallbacks: TomSelectCallbacks? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: TomTypeahead.() -> Unit? = null)
Form field typeahead component based on Tom Select.
Parameters
options
a static list of options
type
text input type (default "text")
value
text input value
ts Callbacks
Tom Select callbacks
name
the name attribute of the generated HTML input element
label
label text bound to the input element
rich
determines if label can contain HTML code
init
an initializer extension function
Constructors
Link copied to clipboard
fun TomTypeahead(options: List<String>? = null, type: <Error class: unknown class> = InputType.TEXT, value: String? = null, tsCallbacks: TomSelectCallbacks? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: TomTypeahead.() -> Unit? = null)