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
Actually, I want to input $10 instead of $10.0 and I have to add a floating point anytime. Now if I click 1, it starts from 0.1, then I should click 0 to get $1.0
The text was updated successfully, but these errors were encountered:
Actually, I want to input $10 instead of $10.0 and I have to add a floating point anytime
To input $10 the formatter can be configured with hasDecimals as false, and then changed to true at any point you'd like to input decimals, ie
the value is $10
// hasDecimals is changed to true
the user types 50
the value is changed to $10,50
Have you tried that? I'm not sure though the UX would be great. Currency text wasn't designed with decimal being optionally inputed at any time
I can`t input optional floating point?
Actually, I want to input $10 instead of $10.0 and I have to add a floating point anytime. Now if I click 1, it starts from 0.1, then I should click 0 to get $1.0
The text was updated successfully, but these errors were encountered: