fix attribute
[roojs1] / examples / form / combos.js
index 7021564..07b108c 100644 (file)
@@ -8,18 +8,19 @@
  * Fork - LGPL
  * <script type="text/javascript">
  */
-\r
+
+var combo = false;\r
 Roo.onReady(function(){
     // simple array store
     var store = new Roo.data.SimpleStore({
         fields: ['abbr', 'state'],
         data : Roo.exampledata.states // from states.js
     });
-    var combo = new Roo.form.ComboBox({
+    combo = new Roo.form.ComboBox({
         store: store,
         editable : false,
         displayField:'state',
-        typeAhead: true,
+        typeAhead: false,
         mode: 'local',
         triggerAction: 'all',
         emptyText:'Select a state...',