diff app/view/widget/base/ComboBox.js @ 740:2e8da590ea0c

made Comboboces editable and filterable for; Messungenform: Messstelle,Datenbasis,Betriebsarts,Testdatensatz,Preobenart,Netzbetreiber Messungform: Messmethode Messwertegrid: Messgroesse,Messeinheit
author Dustin Demuth <dustin@intevation.de>
date Mon, 20 Apr 2015 16:07:40 +0200
parents 2db5d54a5685
children 1321efe444f0
line wrap: on
line diff
--- a/app/view/widget/base/ComboBox.js	Mon Apr 20 14:11:39 2015 +0200
+++ b/app/view/widget/base/ComboBox.js	Mon Apr 20 16:07:40 2015 +0200
@@ -29,14 +29,14 @@
             displayField: this.displayField,
             valueField: this.valueField,
             emptyText: this.emptyText,
-            autoSelect: this.autoSelect,
+            autoSelect: this.autoSelect || true,
             queryMode: this.queryMode,
             triggerAction: this.triggerAction,
             typeAhead: this.typeAhead,
             minChars: this.minChars,
             multiSelect: this.multiSelect,
-            editable: this.editable || false,
-            forceSelection: this.forceSelection,
+            editable: this.editable || true,
+            forceSelection: this.forceSelection || true,
             msgTarget: 'none',
             tpl: this.tpl,
             displayTpl: this.displayTpl

http://lada.wald.intevation.org