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

Starting zeros are removed to fast #382

Open
PCOSFS opened this issue Apr 13, 2023 · 1 comment
Open

Starting zeros are removed to fast #382

PCOSFS opened this issue Apr 13, 2023 · 1 comment

Comments

@PCOSFS
Copy link

PCOSFS commented Apr 13, 2023

Vue Currency Input version

v1.22.6

Vue version

v2.6.14

What browser are you using?

Chrome

What operating system are you using?

Windows

Reproduction link

https://vue-currency-input-v1.netlify.app/playground/

Describe your issue

When I want to remove the first digit of a number with zeros after it, all zeros are immediately removed so it is not easy to just replace the first digit of a number.

Ex :
I have 1001 in my input and if I remove the first "1" (to replace it by a "2" for example) my input value is immediatly replaced by "1" (without the firsts zeros).
See the attached GIF.
chrome_AohL0IhjkR

Note that the last version of the vue currency input playground (v3.0.4) has the same behaviour.

@dm4t2
Copy link
Owner

dm4t2 commented Apr 20, 2023

Hi, thanks for reporting this. I will check to see if this can be improved 👍

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

No branches or pull requests

2 participants