Roo/form/ComboBoxArray.js
[roojs1] / Roo / form / ComboBoxArray.js
index 3de837a..5afa5e2 100644 (file)
@@ -275,9 +275,12 @@ 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.el.dom.value = '';
         if (this.hiddenEl) {
             this.hiddenEl.dom.value = '';
@@ -293,7 +296,6 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField,
          
         this.reset();
         
-        Roo.log(v);
         
         
         if (this.store.isLocal && (typeof(v) == 'string')) {