Try Install Learn Blog API Packages GitHub
Pages
mint-ui

Search
Basic information
Entities
Versions
Dependencies
mint-color 0.9.0 <= v < 1.0.0

Ui.Native.AutoComplete

An auto complete component using the native datalist element.

States

id
:
String
=
Uid.generate()

The id of the datalist.

Properties

disabled
:
Bool
=
false

Whether or not the input is disabled.

invalid
:
Bool
=
false

Whether or not the input is invalid.

onChange
:
Function(String, Promise(Void))
=
Promise.never1

The change event handler.

options
:
Array(String)
=
[]

The options of the input.

placeholder
:
String
=
""

The placeholder to show when there is no value.

size
:
Ui.Size
=
Ui.Size::Inherit

The size of the input.

value
:
String
=
""

The currently selected value.

Functions

render
:
Html

Renders the component.