Closed
Description
Describe the bug
When entering amounts in JPY or KRW, we lose all but the first two digits on blur. Then padRight(3, '0')
e.g.:
enter: 123456
=> result: 120
enter: 1
=> result: 100
To Reproduce
Steps to reproduce the behavior:
- Create component with this setup:
value={value1}
decimalScale={2}
onValueChange={handleOnValue1Change}
intlConfig={{ locale: "ja-JP", currency: "JPY" }}
disableAbbreviations - Enter amount in first input
- Enter 12345
- Blur from
Expected behavior
See 12,345 in field
Code Sandbox
If applicable, please fork this CodeSandbox template and customise it to replicate your issue.
Additional context