/**
* @class Roo.form.ComboBoxArray
- * @extends Roo.form.ComboBox
+ * @extends Roo.form.TextField
* A facebook style adder... for lists of email / people / countries etc...
* pick multiple items from a combo box, and shows each one.
*
items : false,
// private - the hidden field el.
hiddenEl : false,
-
+ // private - the filed el..
el : false,
//validateValue : function() { return true; }, // all values are ok!
add = {};
add[this.valueField] = keys[i];
- add[this.displayField] = values[i];
-
+ add[this.displayField] = display[i];
+ this.addItem(add);
}