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

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