From dffbbf3914183882ab55e3cdbf798bd320e94378 Mon Sep 17 00:00:00 2001 From: edward Date: Wed, 20 Jul 2016 15:37:06 +0800 Subject: [PATCH] Roo/form/ComboBoxArray.js --- Roo/form/ComboBoxArray.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.. -- 2.39.2