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
+4 -4
View File
@@ -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,