fix: set the correct number o decimal places on percentage number inputs

This commit is contained in:
Liordino Neto 2020-08-10 20:39:31 -03:00 committed by Josh Harvey
parent 27da8cc025
commit d1c1734dec

View file

@ -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
}
},
{