mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
refactor(FE-114): swap thousand and decimal separators for improved usability
This commit is contained in:
@@ -114,8 +114,8 @@ const NumberInput = ({
|
|||||||
isLoading = false,
|
isLoading = false,
|
||||||
maskType = 'number',
|
maskType = 'number',
|
||||||
decimals = 0,
|
decimals = 0,
|
||||||
thousandSeparator = '.',
|
thousandSeparator = ',',
|
||||||
decimalSeparator = ',',
|
decimalSeparator = '.',
|
||||||
currencyPrefix = 'Rp ',
|
currencyPrefix = 'Rp ',
|
||||||
weightUnit = 'kg',
|
weightUnit = 'kg',
|
||||||
allowNegative = false,
|
allowNegative = false,
|
||||||
@@ -181,8 +181,8 @@ const NumberInput = ({
|
|||||||
const im = createInputMask(
|
const im = createInputMask(
|
||||||
maskType,
|
maskType,
|
||||||
decimals,
|
decimals,
|
||||||
thousandSeparator,
|
',',
|
||||||
decimalSeparator,
|
'.',
|
||||||
allowNegative,
|
allowNegative,
|
||||||
handleComplete,
|
handleComplete,
|
||||||
handleIncomplete,
|
handleIncomplete,
|
||||||
|
|||||||
Reference in New Issue
Block a user