Skip to content

valueRange doesn't account for the valueScaling passedΒ #363

@fidalgodev

Description

@fidalgodev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions