TomTypeaheadInput

open class TomTypeaheadInput(options: List<String>? = null, type: <Error class: unknown class> = InputType.TEXT, value: String? = null, tsCallbacks: TomSelectCallbacks? = null, className: String? = null, init: TomTypeaheadInput.() -> Unit? = null)

The basic component for typeahead control based on Tom Select.

Parameters

options

a static list of options

type

text input type (default "text")

value

text input value

tsCallbacks

Tom Select callbacks

className

CSS class names

init

an initializer extension function

Constructors

Link copied to clipboard
fun TomTypeaheadInput(options: List<String>? = null, type: <Error class: unknown class> = InputType.TEXT, value: String? = null, tsCallbacks: TomSelectCallbacks? = null, className: String? = null, init: TomTypeaheadInput.() -> Unit? = null)

Functions

Link copied to clipboard
open fun afterDestroy()
Link copied to clipboard
open fun afterInsert(node: <Error class: unknown class>)
Link copied to clipboard
open fun refresh()
Link copied to clipboard
open fun refreshState()

Properties

Link copied to clipboard
var options: <Error class: unknown class>

A static list of options for a typeahead control

Link copied to clipboard

The native TomSelect object instance

Link copied to clipboard
var tsCallbacks: <Error class: unknown class>

Tom Select callbacks