Typeahead Input
open class TypeaheadInput( options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = null, source: (String, (Array<String>) -> Unit) -> Unit? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: <Error class: unknown class> = TextInputType.TEXT, value: String? = null, className: String? = null, init: TypeaheadInput.() -> Unit? = null)
Content copied to clipboard
The basic component for typeahead control.
Parameters
options
a static list of options
ta Ajax Options
AJAX options for remote data source
source
source function for data source
items
the max number of items to display in the dropdown
min Length
the minimum character length needed before triggering dropdown
delay
a delay between lookups
type
text input type (default "text")
value
text input value
class Name
CSS class names
init
an initializer extension function
Constructors
Link copied to clipboard
fun TypeaheadInput( options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = null, source: (String, (Array<String>) -> Unit) -> Unit? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: <Error class: unknown class> = TextInputType.TEXT, value: String? = null, className: String? = null, init: TypeaheadInput.() -> Unit? = null)
Content copied to clipboard