getValue

returns the current value of the control

string getValue();
stringthe current value of the control

Example

var options = [
  { id:1, value:"Banana"  },
  { id:2, value:"Papaya"  },
  { id:3, value:"Apple" }
];
 
webix.ui({
    view:"combo",
    id: "combo",
    label: 'Custom Icon',
    value:1,
    options:options
});
 
$$("combo").getValue(); // returns id

Details

The returned value of the control may be:

See also
Back to top