-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
comma_seperator.2 problem #601
Comments
Are you expecting the value you see in the form field to contain the zero on the end? Currently that will just display as .1 but the actual model value that Angular has will contain .10 |
What I want to see is 1000.10 on when I patch my form control with a number value 1000.1 |
if separator.2 is assigned this would be the correct |
No it doesn't show the extra 0 at the end, if I patch the control with 10.1 |
Yes. Just like in PHP and
|
I can also confirm the issue with trailing zeros. Example: Input with mask="separator.2" thousandSepartor="," and a value of 18500.1 The control is part of a reactive form. Can you please elaborate on the usage of the snippet below?
|
We are also facing this issue, has anyone found a workaround? |
I was forced to go to another library |
any update on this? we are also facing the same issue |
Any update on this? |
@hunterTR @ColinMorris83 @bgl3317 @nagulapallinaveen @lramondev |
@andriikamaldinov1 Is there any way to keep the decimal places inside the input to display it to the user? |
[x] Bug
ngx-mask v8.0.9
Angular v7.2.0
I am having problem with comma_seperator.2. It doesn't add following 0 to the 1 digit decimal to make it 2 decimal.
Input: 1000.1 it render as 1,000.1
It doesn't render as 1,000.10
thanks.
The text was updated successfully, but these errors were encountered: