X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fform%2FComboBoxArray.js;h=5afa5e2723a8d9439e9f0c615f6466e630ae726a;hp=530279c2942e25a3e1b1cda5d3b4d03e0a26d908;hb=f6137b528b521b75c70adb402a7931d1d2e3fb44;hpb=23efba8e006290e73e13578aa736fb8cccc2df6e diff --git a/Roo/form/ComboBoxArray.js b/Roo/form/ComboBoxArray.js index 530279c294..5afa5e2723 100644 --- a/Roo/form/ComboBoxArray.js +++ b/Roo/form/ComboBoxArray.js @@ -275,10 +275,12 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField, reset : function() { - //Roo.form.ComboBoxArray.superclass.reset.call(this); - this.items.each(function(f) { - f.remove(); + this.items.clear(); + + Roo.each(this.outerWrap.select('.x-cbarray-item', true).elements, function(el){ + el.remove(); }); + this.el.dom.value = ''; if (this.hiddenEl) { this.hiddenEl.dom.value = '';