diff app/view/widgets/Verwaltungseinheit.js @ 417:a4eb98a6ea20

Disabled trigger for combobox and request data if two chars typed.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 09 Oct 2013 14:48:29 +0200
parents 0814c50caa81
children 651ee49ff3c2
line wrap: on
line diff
--- a/app/view/widgets/Verwaltungseinheit.js	Wed Oct 09 10:13:32 2013 +0200
+++ b/app/view/widgets/Verwaltungseinheit.js	Wed Oct 09 14:48:29 2013 +0200
@@ -8,12 +8,13 @@
         displayField: 'bezeichnung',
         valueField: 'gemId',
         emptyText:'Wählen Sie eine Verwaltungseinheit',
+        hideTrigger: true,
         // Enable filtering of comboboxes
         autoSelect: false,
         queryMode: 'remote',
-        triggerAction : 'all',
+        triggerAction : 'type',
         typeAhead: true,
-        minChars: 0,
+        minChars: 2,
     initComponent: function() {
         this.callParent(arguments);
     }

http://lada.wald.intevation.org