Skip to content
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

[@mantine/core] NumberInput: Add 'removePrecisionTrailingZeros' prop #2547

Merged
merged 2 commits into from Sep 30, 2022
Merged

[@mantine/core] NumberInput: Add 'removePrecisionTrailingZeros' prop #2547

merged 2 commits into from Sep 30, 2022

Conversation

PointSingularity
Copy link
Contributor

@PointSingularity PointSingularity commented Sep 25, 2022

As discussed in #2541, this adds 'removePrecisionTrailingZeros' prop.

If precision is given, and removePrecisionTrailingZeros is active, the trailing zeros will be removed.
If a decimal separator is the last character, it will also be removed.

@PointSingularity PointSingularity changed the title Merge branch 'master' of https://github.com/mantinedev/mantine [@mantine/core] NumberInput: Add 'removePrecisionTrailingZeros' prop Sep 25, 2022
@PointSingularity PointSingularity changed the base branch from master to dev September 25, 2022 15:29
@rtivital rtivital changed the base branch from dev to master September 25, 2022 15:32
@rtivital rtivital changed the base branch from master to dev September 25, 2022 15:32
@rtivital rtivital merged commit 05ffc12 into mantinedev:dev Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants