-
Notifications
You must be signed in to change notification settings - Fork 78
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
Persist Zero in Numeric validator #534
Comments
ajayojha
added a commit
that referenced
this issue
Oct 27, 2021
@jainvikram1980 new version has been released (@rxweb/[email protected]), please update the same. I am closing this ticket as there is no further action required from our end. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Trailing Zero gets removed when assigning a numeric validator with format true.
For example,
Code what we have put is: @Numeric({ allowDecimal: true, isFormat: true })
10.52 will remain 10.52 but 10.50 will become 10.5 as it is removing the trailing 0.
Describe the solution you'd like
It would be good if we introduce one new property like persistZero to persist the zero as entered by users.
The text was updated successfully, but these errors were encountered: