kvision / pl.treksoft.kvision.form.text / TypeaheadInput / <init>

<init>

(js) TypeaheadInput(options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf())

Parameters

options - a static list of options

taAjaxOptions - AJAX options for remote data source

items - the max number of items to display in the dropdown

minLength - the minimum character length needed before triggering dropdown

delay - a delay between lookups

type - text input type (default "text")

value - text input value

classes - a set of CSS class names

Constructor