vue-currency-input icon indicating copy to clipboard operation
vue-currency-input copied to clipboard

Starting zeros are removed to fast

Open PCOSFS opened this issue 1 year ago • 1 comments

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.

PCOSFS avatar Apr 13 '23 14:04 PCOSFS

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

dm4t2 avatar Apr 20 '23 19:04 dm4t2