ankurk91/vue-cleave-component

Add zeros on value

NomiasSR opened this issue · 1 comments

I'm submitting a ... (check one with "x")

[ ] Bug report => search github for a similar issue or PR before submitting
[x ] Feature request
[ ] Other, please describe

Tell about your platform
windows

  • cleave.js version : 1.x.x
    lastest
  • Vue.js version : 2.x.x
    lastest
  • Browser name and version : Chrome|Firefox|Safari x.x.x
    Chrome lastest
  • This package version : 2.x.x

Current behavior
I want suggest a new behavior for numbers when user typing money values, the component can complete with zeros when the user do not input decimal values.
For exemple: The value 1000 becomes 1000,00 when the component loose the focus.

Expected behavior

You should request this feature here
https://github.com/nosir/cleave.js/

This component rely on this package internally.