changeset 660:060a4f66de08

merged
author Dustin Demuth <dustin@intevation.de>
date Thu, 19 Mar 2015 10:56:01 +0100
parents 40834912929e (diff) 74cc7f086d83 (current diff)
children 04cf6b514e3e
files
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/widget/base/ComboBox.js	Thu Mar 19 10:07:39 2015 +0100
+++ b/app/view/widget/base/ComboBox.js	Thu Mar 19 10:56:01 2015 +0100
@@ -35,6 +35,7 @@
             typeAhead: this.typeAhead,
             minChars: this.minChars,
             multiSelect: this.multiSelect,
+            editable: this.editable || false,
             msgTarget: 'none',
             tpl: this.tpl
         }, {
--- a/app/view/widget/base/TextField.js	Thu Mar 19 10:07:39 2015 +0100
+++ b/app/view/widget/base/TextField.js	Thu Mar 19 10:56:01 2015 +0100
@@ -21,7 +21,8 @@
             flex: 1,
             name: this.name,
             msgTarget: 'none',
-            maxLength: this.maxLength,
+            maxLength: this.maxLength || 1000,
+            enforceMaxLength: this.enforceMaxLength || true,
             fieldLabel: this.fieldLabel,
             labelWidth: this.labelWidth,
             listeners: this.listeners

http://lada.wald.intevation.org