X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fform%2FComboBoxArray.js;h=530279c2942e25a3e1b1cda5d3b4d03e0a26d908;hb=23efba8e006290e73e13578aa736fb8cccc2df6e;hp=b517b942db4beb6967e75200bf83faba9abf3857;hpb=a6fad2b2af524fcc9b718ef30a36d17d5eb8454a;p=roojs1 diff --git a/Roo/form/ComboBoxArray.js b/Roo/form/ComboBoxArray.js index b517b942db..530279c294 100644 --- a/Roo/form/ComboBoxArray.js +++ b/Roo/form/ComboBoxArray.js @@ -276,8 +276,9 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField, reset : function() { //Roo.form.ComboBoxArray.superclass.reset.call(this); - this.items.clear(); - ; + this.items.each(function(f) { + f.remove(); + }); this.el.dom.value = ''; if (this.hiddenEl) { this.hiddenEl.dom.value = '';