examples/form/nestedcombo.js
[roojs1] / examples / form / nestedcombo.js
index c0ccc7b..93494e4 100644 (file)
@@ -31,8 +31,13 @@ Roo.onReady(function(){
             ['ID', 'Idaho'],
             ['IL', 'Illinois'],
             ['IN', 'Indiana'],
-            ['IA', 'Iowa']
-        ]]
+            ['IA', 'Iowa'],
+            ['IDA', 'Idaho'],
+            ['ILA', 'Illinois'],
+            ['INA', 'Indiana'],
+            ['IAA', 'Iowa']
+        ]],
+        ['E', 'Empty states', []],
     ];
     /*
      * ================  Form 2  =======================
@@ -63,7 +68,7 @@ Roo.onReady(function(){
                     data : sampledata// from states.js
                    
                 },
-                listWidth: 300,
+                listWidth: 400,
                 typeAhead: true,
                 mode: 'local',
                 triggerAction: 'all',