X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fform%2FComboBoxArray.js;h=bd3abee9f3d02253fa0a11073e619439ea636a4e;hb=6173d56fd23eae0231a91824f12c300f4d2d7b5e;hp=f237f9662fc7b4c51ce3716757cd96c84dfec730;hpb=0057c5a79f477e09937790f2b6e921bc428bf70d;p=roojs1 diff --git a/Roo/form/ComboBoxArray.js b/Roo/form/ComboBoxArray.js index f237f9662f..bd3abee9f3 100644 --- a/Roo/form/ComboBoxArray.js +++ b/Roo/form/ComboBoxArray.js @@ -103,9 +103,9 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField, this.combo.onRender(ct, position); // assigned so form know we need to do this.. - this.store = this.combo.store; - this.valueField = this.combo.valueField; - this.displayField = this.combo.displayField ; + this.store = this.combo.store; + this.valueField = this.combo.valueField; + this.displayField = this.combo.displayField ; this.combo.wrap.addClass('x-cbarray-grp'); @@ -268,7 +268,13 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField, setValue: function(v) // not a valid action - must use addItems.. { - + Roo.log(v); + if (this.store.isLocal) { + // then we can use the store to find the values.. + + + + } var _this = this; Roo.each(v, function(l) { _this.addItem(l);