From: Michael Date: Sun, 8 Mar 2015 07:33:15 +0000 (+0800) Subject: Roo/form/ComboBoxArray.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=535444259812f998bf5d81f5936ec8ab9ea7f8fc Roo/form/ComboBoxArray.js --- diff --git a/Roo/form/ComboBoxArray.js b/Roo/form/ComboBoxArray.js index ff0af6be01..fd2acd0302 100644 --- a/Roo/form/ComboBoxArray.js +++ b/Roo/form/ComboBoxArray.js @@ -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);