From: edward Date: Wed, 20 Jul 2016 07:37:06 +0000 (+0800) Subject: Roo/form/ComboBoxArray.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=dffbbf3914183882ab55e3cdbf798bd320e94378 Roo/form/ComboBoxArray.js --- diff --git a/Roo/form/ComboBoxArray.js b/Roo/form/ComboBoxArray.js index 47d9cafa98..530279c294 100644 --- a/Roo/form/ComboBoxArray.js +++ b/Roo/form/ComboBoxArray.js @@ -277,7 +277,6 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField, { //Roo.form.ComboBoxArray.superclass.reset.call(this); this.items.each(function(f) { - Roo.log(f); f.remove(); }); this.el.dom.value = ''; @@ -295,6 +294,8 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField, this.reset(); + + if (this.store.isLocal && (typeof(v) == 'string')) { // then we can use the store to find the values.. // comma seperated at present.. this needs to allow JSON based encoding..