You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting decimalScale and fixedDecimalScale in <NumericFormat /> component, and then "delete"(not backspace) keypress before the decimal point "0" will be added.
Describe the expected behavior
if the delete key before the decimal point, the 0 will not be added in.
Describe the issue and the actual behavior
After setting
decimalScale
andfixedDecimalScale
in<NumericFormat />
component, and then "delete"(not backspace) keypress before the decimal point "0" will be added.Describe the expected behavior
if the delete key before the decimal point, the 0 will not be added in.
Provide a CodeSandbox link illustrating the issue
https://codesandbox.io/s/fixeddecimalscale-demo-forked-cfn3ly?file=/src/App.js
Provide steps to reproduce this issue
the cursor 3 digits before the decimal number "123" and delete key
123,456.12000
12,356.12000
1,236.12000
123.12000
the cursor "123" (before the decimal point) and then delete key
12,312,000.00000
Please check the browsers where the issue is seen
The text was updated successfully, but these errors were encountered: