From: Alan Knowles Date: Wed, 4 Jul 2012 07:28:22 +0000 (+0800) Subject: Roo/form/ComboBoxArray.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=9c39d4a5545b3f10e7af7518f3d078129ba28848 Roo/form/ComboBoxArray.js --- diff --git a/Roo/form/ComboBoxArray.js b/Roo/form/ComboBoxArray.js index b0a8fd7e4f..dca5adc40c 100644 --- a/Roo/form/ComboBoxArray.js +++ b/Roo/form/ComboBoxArray.js @@ -293,6 +293,14 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField, + } + if (typeof(v) == 'object') { + // then let's assume it's an array of objects.. + Roo.each(v, function(l) { + this.addItem(l); + }, this); + + }