From 63c15a4efe3bf8d53dcd85b0ef9ba6912ac174f4 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 11 Mar 2021 14:54:57 +0300 Subject: [PATCH] [SSE] Remove limits for rank rules --- apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js b/apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js index 92ab3cc47..dd13f242e 100644 --- a/apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js +++ b/apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js @@ -488,7 +488,7 @@ define([ ] }).on('selected', function(combo, record) { var percent = !!record.value; - me.numRank.setMaxValue(percent ? 100 : 1000); + // me.numRank.setMaxValue(percent ? 100 : 1000); me.numRank.setValue(me.numRank.getNumberValue()); }); this.cmbPercent.setValue(0); @@ -501,8 +501,8 @@ define([ defaultValue : 10, allowDecimal: false, value: '10', - maxValue: 1000, - minValue: 1 + maxValue: 1000000000000, + minValue: -1000000000000 }); this.numRank.on('change', _.bind(function(field, newValue, oldValue, eOpts){ }, this));