refactor(FE-114): swap thousand and decimal separators for improved usability

This commit is contained in:
rstubryan
2025-10-23 16:48:55 +07:00
parent ae967c5ddb
commit 90ae7c469a
+5 -5
View File
@@ -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,