examples/form/dynamic.js
authorAlan Knowles <alan@roojs.com>
Wed, 2 May 2012 07:01:11 +0000 (15:01 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 2 May 2012 07:01:11 +0000 (15:01 +0800)
examples/form/dynamic.js

index 20cca67..97f9f91 100644 (file)
@@ -137,11 +137,11 @@ Roo.onReady(function(){
                         width: 550,
                         combo : {
                             
-                            valueField : 'abbr',
-                            displayField : 'state',
+                            valueField : 'code',
+                            displayField : 'title',
                             
                             // thes are not really needed as parent overwrites them!?
-                            name : 'countryNames',
+                            name : 'country_name',
                             hiddenName : 'country',
                             
                             xtype : 'ComboBox',