Mercurial > lada > lada-client
changeset 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 | bf15bfea2fca |
children | 060a4f66de08 |
files | app/view/widget/base/TextField.js |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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