diff app/view/form/Messung.js @ 661:04cf6b514e3e

Enforcing maxlength on Numberfield Messdauer
author Dustin Demuth <dustin@intevation.de>
date Thu, 19 Mar 2015 11:05:35 +0100
parents 8a156a7fbe67
children a0df1a8dff24
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