From: edward Date: Wed, 20 Jul 2016 07:38:16 +0000 (+0800) Subject: Roo/form/ComboBoxArray.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=a6fad2b2af524fcc9b718ef30a36d17d5eb8454a Roo/form/ComboBoxArray.js --- diff --git a/Roo/form/ComboBoxArray.js b/Roo/form/ComboBoxArray.js index 530279c294..b517b942db 100644 --- a/Roo/form/ComboBoxArray.js +++ b/Roo/form/ComboBoxArray.js @@ -276,9 +276,8 @@ 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(); + ; this.el.dom.value = ''; if (this.hiddenEl) { this.hiddenEl.dom.value = '';