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

valueRange doesn't account for the valueScaling passed #363

Open
fidalgodev opened this issue Dec 9, 2022 · 1 comment
Open

valueRange doesn't account for the valueScaling passed #363

fidalgodev opened this issue Dec 9, 2022 · 1 comment

Comments

@fidalgodev
Copy link

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

@dm4t2
Copy link
Owner

dm4t2 commented Apr 20, 2023

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

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