returns the current value of the control
string | the current value of the control |
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
The returned value of the control may be: