examples/form/combocheck.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 2 Sep 2011 05:24:13 +0000 (13:24 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 2 Sep 2011 05:24:13 +0000 (13:24 +0800)
examples/form/combocheck.js

index 8c38ca0..66b12af 100644 (file)
@@ -23,11 +23,16 @@ Roo.onReady(function(){
                 xtype : 'ComboCheck',
                 xns: Roo.form,
                 
-                name : 'states_list',
                 fieldLabel: 'State',
+                
+                name : 'states_list',
                 hiddenName:'states',
+                
+                
                 valueField : 'abbr',
                 displayField:'state',
+                
+                
                 store: {
                     xns : Roo.data,
                     xtype : 'SimpleStore',
@@ -50,5 +55,5 @@ Roo.onReady(function(){
     });
 
     mform.render('form-ct5');
-    combo = mform.findField('states_list');
+    combo = mform.findField('states');
 });
\ No newline at end of file