fix: set the correct number o decimal places on percentage number inputs
This commit is contained in:
parent
27da8cc025
commit
d1c1734dec
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue