X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsrc%2FRoo_form_ComboBoxArray.js.html;h=3eaf9911e88e15d8d3731845c177a8ae49af7d9a;hp=4e3c916ac14427e5ca3a1b558e8fce3704561292;hb=0b69a11b1055a6d3a3fd0719bdd58b5a235de0e4;hpb=dc5d9380aff25134bf025953bdafe40b580337ff
diff --git a/docs/src/Roo_form_ComboBoxArray.js.html b/docs/src/Roo_form_ComboBoxArray.js.html
index 4e3c916ac1..3eaf9911e8 100644
--- a/docs/src/Roo_form_ComboBoxArray.js.html
+++ b/docs/src/Roo_form_ComboBoxArray.js.html
@@ -321,7 +321,13 @@
if (typeof(v) == 'object' ) {
Roo.each(v, function(l) {
- this.addItem(l);
+ var add = l;
+ if (typeof(l) == 'string') {
+ add = {};
+ add[this.valueField] = l;
+ add[this.displayField] = l
+ }
+ this.addItem(add);
}, this);
}