From d1c1734dec554c23261f0c4be981476600799322 Mon Sep 17 00:00:00 2001 From: Liordino Neto Date: Mon, 10 Aug 2020 20:39:31 -0300 Subject: [PATCH] fix: set the correct number o decimal places on percentage number inputs --- new-lamassu-admin/src/pages/Commissions/helper.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/new-lamassu-admin/src/pages/Commissions/helper.js b/new-lamassu-admin/src/pages/Commissions/helper.js index 1492a352..74e524e1 100644 --- a/new-lamassu-admin/src/pages/Commissions/helper.js +++ b/new-lamassu-admin/src/pages/Commissions/helper.js @@ -58,7 +58,7 @@ const getOverridesFields = (getData, currency) => { textAlign: 'right', suffix: '%', inputProps: { - decimalPlaces: 0 + decimalPlaces: 3 } }, { @@ -69,7 +69,7 @@ const getOverridesFields = (getData, currency) => { textAlign: 'right', suffix: '%', inputProps: { - decimalPlaces: 0 + decimalPlaces: 3 } }, { @@ -108,7 +108,7 @@ const mainFields = currency => [ input: NumberInput, suffix: '%', inputProps: { - decimalPlaces: 0 + decimalPlaces: 3 } }, { @@ -119,7 +119,7 @@ const mainFields = currency => [ input: NumberInput, suffix: '%', inputProps: { - decimalPlaces: 0 + decimalPlaces: 3 } }, {