jonathanpmartins / v-money3

Vue3 currency input/directive mask
MIT License
103 stars 27 forks source link

Can I somehow specify auto-precision ? #94

Open Venegrad opened 8 months ago

Venegrad commented 8 months ago

Can I somehow specify auto-precision, since I have 8 characters allowed in one currency, 3 in the second, and so on, i.e. allow the user to put a dot and determine the number after it?

jonathanpmartins commented 1 month ago

Thank you for the suggestion! This could be implemented, but it would likely require changes to the internal behavior and might need a flag to activate it. Since I don't currently need this feature in my projects, you're welcome to open a pull request if you'd like to contribute.