Roo/form/ComboBoxArray.js
authorMichael <michael@roojs.com>
Sun, 8 Mar 2015 08:07:51 +0000 (16:07 +0800)
committerMichael <michael@roojs.com>
Sun, 8 Mar 2015 08:07:51 +0000 (16:07 +0800)
Roo/form/ComboBoxArray.js

index fd2acd0..c6051e8 100644 (file)
@@ -308,7 +308,7 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField,
             }, this) 
              
         }
-        if (typeof(v) == 'string' ) {
+        if (typeof(v) == 'object' ) {
             // then let's assume it's an array of objects..
             Roo.each(v, function(l) {
                 this.addItem(l);