diff app/view/widgets/Uwb.js @ 355:596501c16560

Issue8. Fixed filtering of comboboxes while typing.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 13 Aug 2013 12:36:02 +0200
parents 5fbcbf330839
children cdef828f8049
line wrap: on
line diff
--- a/app/view/widgets/Uwb.js	Tue Aug 13 12:29:56 2013 +0200
+++ b/app/view/widgets/Uwb.js	Tue Aug 13 12:36:02 2013 +0200
@@ -26,6 +26,12 @@
         displayField:'umwId',
         valueField: 'umwId',
         emptyText:'Wählen Sie einen Umweltbereich',
+        // Enable filtering of comboboxes
+        autoSelect: false,
+        queryMode: 'local',
+        triggerAction : 'all',
+        typeAhead: true,
+        minChars: 0,
         // TODO: Set value in disply after selection. Can not figure out why
         // accessing the recored.data attribute fails here (ti) <2013-08-06 16:52> 
         //listeners: {

http://lada.wald.intevation.org