changeset 661:04cf6b514e3e

Enforcing maxlength on Numberfield Messdauer
author Dustin Demuth <dustin@intevation.de>
date Thu, 19 Mar 2015 11:05:35 +0100
parents 060a4f66de08
children 7ede89336dbe
files app/view/form/Messung.js
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/form/Messung.js	Thu Mar 19 10:56:01 2015 +0100
+++ b/app/view/form/Messung.js	Thu Mar 19 11:05:35 2015 +0100
@@ -89,6 +89,9 @@
                 }, {
                     xtype: 'numberfield',
                     allowDecimals: false,
+                    allowExponential: false,
+                    enforceMaxLength: true,
+                    maxLength: 10,
                     minValue: 0,
                     name: 'messdauer',
                     margin: '0, 10, 5, 0',

http://lada.wald.intevation.org