jonathanpmartins / v-money3

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

Allow-Blank is not working on precision other than 2 #37

Closed mazraara closed 3 years ago

mazraara commented 3 years ago

image

Currently i am trying to set the precision as 0 to have it worked as just integers, however this add (auto fill) a 0 by default when the page loads.

Is there an option to disable the decimal point?

jonathanpmartins commented 3 years ago

Does the allow-blank option suit your needs?

mazraara commented 3 years ago

@jonathanpmartins i am using that option already

image

is there another way to say disable decimal instead of saying precision 0 ?

jonathanpmartins commented 3 years ago

Thanks for reporting the issue. It was solved in 3.16.1.