returns the current value of the control
string|array | the current value of the control |
webix.ui({
view:"multiselect", id:"multi", label:"Participant",
value: "1,2",
options:[
{ id:1, value:"Alex Brown" },
{ id:2, value:"Dan Simons" },
{ id:3, value:"John Doe" },
]
});
$$("multi").getValue(); // returns "1,2"
The returned value of the control can be a string or an array depending on the stringResult property.