diff app/view/widget/base/TextField.js @ 659:40834912929e

Textfields sind nun max. 1000 Zeichen Lang. Die begrenzung wird erzwungen, kann jedoch überschrieben werden
author Dustin Demuth <dustin@intevation.de>
date Thu, 19 Mar 2015 10:55:01 +0100
parents 291ac2e2bcf5
children 777bf66dbb11
line wrap: on
line diff
--- a/app/view/widget/base/TextField.js	Thu Mar 19 10:43:02 2015 +0100
+++ b/app/view/widget/base/TextField.js	Thu Mar 19 10:55: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