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

valueRange doesn't account for the valueScaling passed

Open fidalgodev opened this issue 1 year ago • 1 comments

Vue Currency Input version

3.0.3

Vue version

3.2

What browser are you using?

Chrome

What operating system are you using?

MacOS

Reproduction link

https://dm4t2.github.io/vue-currency-input/playground.html

Describe your issue

The valueRange option doesn't account for the valueScaling passed.

If using precision as valueScaling, meaning a value of 14 will indeed be 0.14, I would expect that this setting would enforce a minium of 0.14:

valueRange:  
   { min: 14 }

Instead, it forces a minium of 14

fidalgodev avatar Dec 09 '22 14:12 fidalgodev

Hi, sorry for the very late reply. I also think that should be changed.

dm4t2 avatar Apr 20 '23 19:04 dm4t2