vue-inputmask
vue-inputmask copied to clipboard
Vue.js directive to add inputmask library to your inputs (vanilla javascript).
exports.default = inputmaskPlugin I using mix v6
```js ``` But don't work
``` setPhoneCode: function (country) { switch (country) { case 'rus': this.phone.flag = '🇷🇺 '; this.phone.code = '+7'; this.phone.placeholder = '(___) ___-__-__'; this.phone.mask = '(999) 999-99-99'; break; case 'kzt': this.phone.flag =...
I added the update hook to address issue #14 and #15.
Hello , I wold like after this - ``` 200 ``` show like this - ``` 200 m² ``` ( with sufix m² ) how could I do it ?...
`` where mask is a prop of type string does not appear to work.
Is there a way to return the unmasked value to the v-model?
Before I use version 4.0.6 it work but after update it do not work ` Vue.directive('inputmask', { bind: function (el, binding) { var inputs = el.getElementsByTagName('INPUT') var input = inputs[0]...