Hello all,
here my new question. This is the code:
view:"multicombo",
label:"Name",
tagMode: false,
suggest:names,
tagTemplate: function(values){
return (values.length? values.length+" item(s) selected":"");
},
getValue:function(){
var value=webix.ui.combo.prototype.getValue.call(this);
return value?this.getList().getItem(value)[this.config.valueField]:value;
}
My question is how to get the value of the combo when nothing is selected. The Combo is empty and the getValue() function only ends in a javascript error: t.join is not a function. I tested following functions: getText, getItemText(), getPopup().getList()…they all end in an error…So please tell me how to get the empty String(which i guess its an empty string) out of the Combobox.
Thx!