TomTypeahead

constructor(options: List<String>? = null, type: InputType = InputType.TEXT, value: String? = null, tsCallbacks: TomSelectCallbacks? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: TomTypeahead.() -> Unit? = null)

Parameters

options

a static list of options

type

text input type (default "text")

value

text input value

tsCallbacks

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