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

hide the leading zeros when decreasing #12

Open
gaoryrt opened this issue Oct 31, 2018 · 4 comments
Open

hide the leading zeros when decreasing #12

gaoryrt opened this issue Oct 31, 2018 · 4 comments
Labels
enhancement New feature or request

Comments

@gaoryrt
Copy link
Owner

gaoryrt commented Oct 31, 2018

1. Is your feature request related to a problem? Please describe.
There will be some unnecessary zeros when decreasing the number, like, from 88888 to 555, it stops at '00555' with two leading zeros.

2. Describe the solution you'd like
Hide the zeros with blank rows.

3. Describe alternatives you've considered
opacity: 0 with css selector.

@seajean
Copy link

seajean commented Nov 2, 2018

Not only zero, but also separator~ Changing from 1,000 to 999, display ,999

@gaoryrt gaoryrt pinned this issue Jul 8, 2019
@evinma
Copy link

evinma commented Oct 30, 2019

Is it possible to provide a property to customize whether to remove it?

@gaoryrt
Copy link
Owner Author

gaoryrt commented Oct 30, 2019

@evinma Got a branch for this: https://github.com/gaoryrt/number-flip/tree/maxLenNum

But never thought making it a property 🤔🤔🤔

@evinma
Copy link

evinma commented Oct 30, 2019

@evinma Got a branch for this: https://github.com/gaoryrt/number-flip/tree/maxLenNum

But never thought making it a property 🤔🤔🤔

The maxLenNum is not very flexible. 😯

@gaoryrt gaoryrt unpinned this issue Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants