Combobox

Combobox

Filter Style

Filter Style

Filter Style

Mitigation option project

Mitigation option project

A component that combines a button or editable field and a drop-down list. The user can select a value from the drop-down list, which appears at the user’s request. If you make the combo box editable, then the combo box includes an editable field into which the user can type a value.

Usage: “{{combobox|id=ANY_UNIQUE_ID|data={Array}}}”

Mappia API

 
 

onSelect: {Function}({{element}}, {{value}}, {{index}})

Fires when a list item is selected.
@param element {Element} This combobox.
@param value {Record}: The record which was selected.
@param index {Numeric} Index of the selected item.

Usage: |onSelect= function(e,v) {alert('Selected ' + v);}|

Defaults to undefined
 

width: {Number}

Define element initial width in pixels.
Usage: |width=200|

Defaults to 190
 

opacity: {Numeric}

Defines initial map opacity.
Usage: {opacity: 0.8}

Defaults to 1