wirecardBrasil / awesome-mask

The awesome-mask runs with Vue.js and uses the vanilla-masker to make your form awesome with masks.
MIT License
165 stars 22 forks source link

Added support for Vue custom components #26

Closed matheusgrieger closed 7 years ago

matheusgrieger commented 7 years ago

Solves issue #25.

Simple solution: the used element was the component's root, instead of the input itself.

The proper input was used to attach the events, but not for everything else. Solved by just sending the input element to everywhere the root element was being passed onto.

caioincau commented 7 years ago

I will make a new release today, with this.

caioincau commented 7 years ago

https://github.com/moip/awesome-mask/releases/tag/0.5.4

matheusgrieger commented 7 years ago

Thank you, @icaioincau! But actually, it doesn't just solve the issue with Vuetify. Any other component framework (KeenUI, for example) gets fixed as well, as far as I tested it.