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
- Added fixedDecimalScale prop to add 0s to match decimalScale
- Handle some formatting on onBlur event. This will allow user to intermediately type incomplete number (i.e. leading zeros, no zeros before decimal) (Fix for #96)
Hello and thanks for this slick library! I have a request though:
I need to format a number like currency, so it should allow at the most 2 decimals but the should not be required.
So if I type, for example,
42
it should not add.00
, but if the user begin to type decimal it should limit them to 2.This can be achieved with the current version only with
decimalPrecision
set tofalse
but in that way I can't limit the decimal to 2.Do you think that could be a reasonable feature to add in the future?
Thank you.
The text was updated successfully, but these errors were encountered: