- Index
- »
- fan.domkit
- »
- Combo
Combo
@Js
class Combo : Elem
Combo combines a TextField and ListButton into a single widget that allows a user to select from a list or manually enter a value.
See also: docDomkit
TextField component of Combo
The current list items for Combo
Callback to create an Elem representation for a given list item
virtual Bool? : enabled
TextField : field
TextField component of Combo.
Str[] : items
The current list items for Combo.
new make()
Void onElem(|Obj->Obj| f)
Callback to create an Elem representation for a given list item. If function does not return an Elem instance, one will be created using toStr of value.