From 23efba8e006290e73e13578aa736fb8cccc2df6e Mon Sep 17 00:00:00 2001 From: edward Date: Wed, 20 Jul 2016 15:46:54 +0800 Subject: [PATCH] Roo/form/ComboBoxArray.js --- Roo/form/ComboBoxArray.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Roo/form/ComboBoxArray.js b/Roo/form/ComboBoxArray.js index 32194e7097..530279c294 100644 --- a/Roo/form/ComboBoxArray.js +++ b/Roo/form/ComboBoxArray.js @@ -276,12 +276,9 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField, reset : function() { //Roo.form.ComboBoxArray.superclass.reset.call(this); - this.items.clear(); - - Roo.each(this.outerWrap.select('.x-cbarray-item', true).elements, function(el){ - el.remove(); + this.items.each(function(f) { + f.remove(); }); - this.el.dom.value = ''; if (this.hiddenEl) { this.hiddenEl.dom.value = ''; -- 2.39.2