-
Notifications
You must be signed in to change notification settings - Fork 27
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
when allowBlank is set last digits are missing #38
Comments
i am using this as a directive, when i am using the component then this issue is no longer present |
I will take a look at it next week. I'm currently refactoring some of the original code and this issue is next on the list! |
The code-base has suffered a big refactoring. Some behavior has become default with Directives are capable to work with Using
The components allow you to work with numbers with the Using
I really encourage you to use the component instead of the directive, or change your format value when setup. But... If you really want to work with directives you can configure it manually. This sould work on the new release of <input :model-modifiers="{ number: true }" v-model.lazy="amount" v-money3="config" /> |
when allowBlank is FALSE
€30.00
10.00%
allowBlank is TRUE
€0.30
0.10%
below is my overall config
{ "decimal": ".", "thousands": ",", "prefix": "€", "suffix": "", "min": 0, "max": 1000000, "precision": 2, "masked": false, "allowBlank": true, "disableNegative": true }
The text was updated successfully, but these errors were encountered: