class domkit::Combo

sys::Obj
  dom::Elem
    domkit::Combo

@Js

Source

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

enabled

virtual override Bool? enabled

Source

field

TextField field { private set }

Source

TextField component of Combo.

items

Str[] items

Source

The current list items for Combo.

make

new make()

Source

onElem

Void onElem(|Obj->Obj| f)

Source

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.