[Lada-commits] [PATCH 4 of 8] Enforcing maxlength on Numberfield Messdauer
Wald Commits
scm-commit at wald.intevation.org
Thu Mar 19 11:17:52 CET 2015
# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1426759535 -3600
# Node ID 04cf6b514e3e7dcbaa077b91725cbd5e4bae937a
# Parent 060a4f66de084e74ed1a1e88af99a6bbf3be6ffa
Enforcing maxlength on Numberfield Messdauer
diff -r 060a4f66de08 -r 04cf6b514e3e app/view/form/Messung.js
--- 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',
More information about the Lada-commits
mailing list