changeset 1127:5941ee0c7247

Do not constrain range of values. Zero and (e.g. for temperature) even negative values have to be possible. As numbers with exponent >99 are unlikely, they are displayed as they are.
author Tom Gottfried <tom@intevation.de>
date Tue, 24 May 2016 15:20:01 +0200
parents f1d234a7adc7
children 6549abef70e1
files app/view/grid/Messwert.js app/view/grid/Probenzusatzwert.js
diffstat 2 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/grid/Messwert.js	Tue May 24 10:41:07 2016 +0200
+++ b/app/view/grid/Messwert.js	Tue May 24 15:20:01 2016 +0200
@@ -117,8 +117,6 @@
             editor: {
                 xtype: 'expnumberfield',
                 allowBlank: false,
-                maxValue: 9.99e+99,
-                minValue: 1e-99
             },
             renderer: function(value) {
                 if (!value || value === '') {
@@ -176,8 +174,6 @@
             width: 80,
             editor: {
                 xtype: 'expnumberfield',
-                maxValue: 9.99e+99,
-                minValue: 1e-99
             },
             renderer: function(value) {
                 if (!value || value === '') {
--- a/app/view/grid/Probenzusatzwert.js	Tue May 24 10:41:07 2016 +0200
+++ b/app/view/grid/Probenzusatzwert.js	Tue May 24 15:20:01 2016 +0200
@@ -94,8 +94,6 @@
             flex: 1,
             editor: {
                 xtype: 'expnumberfield',
-                maxValue: 9.99e+99,
-                minValue: 1e-99
             },
             renderer: function(value) {
                 if (!value || value === '') {
@@ -128,8 +126,6 @@
             flex: 1,
             editor: {
                 xtype: 'expnumberfield',
-                maxValue: 9.99e+99,
-                minValue: 1e-99
             },
             renderer: function(value) {
                 if (!value || value === '') {

http://lada.wald.intevation.org