mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +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,
|
||||
maskType = 'number',
|
||||
decimals = 0,
|
||||
thousandSeparator = '.',
|
||||
decimalSeparator = ',',
|
||||
thousandSeparator = ',',
|
||||
decimalSeparator = '.',
|
||||
currencyPrefix = 'Rp ',
|
||||
weightUnit = 'kg',
|
||||
allowNegative = false,
|
||||
@@ -178,11 +178,11 @@ const NumberInput = ({
|
||||
if (oncleared) oncleared();
|
||||
};
|
||||
|
||||
const im = createInputMask(
|
||||
const im = createInputMask(
|
||||
maskType,
|
||||
decimals,
|
||||
thousandSeparator,
|
||||
decimalSeparator,
|
||||
',',
|
||||
'.',
|
||||
allowNegative,
|
||||
handleComplete,
|
||||
handleIncomplete,
|
||||
|
||||
Reference in New Issue
Block a user