From: edward Date: Wed, 20 Jul 2016 07:42:14 +0000 (+0800) Subject: Roo/form/ComboBoxArray.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=40ea77176a6409e2aff868eb2ac46b438ea3b700 Roo/form/ComboBoxArray.js --- diff --git a/Roo/form/ComboBoxArray.js b/Roo/form/ComboBoxArray.js index ad761e3028..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 = ''; @@ -293,8 +294,6 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField, this.reset(); - Roo.log(this.items); - Roo.log(v); if (this.store.isLocal && (typeof(v) == 'string')) {