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

Usage with Component input #25

Closed matheusgrieger closed 7 years ago

matheusgrieger commented 7 years ago

Is it possible to use together with component inputs, such as Vuetify's Text fields?

I've tried and it throws a "Cannot read property 'length' of undefined" error.

caioincau commented 7 years ago

No, it only works with native html input.

matheusgrieger commented 7 years ago

As I really, really needed this, I've opened a Pull Request #26 adding support for Components such as Vuetify's Text fields.

I have tested with them, and also ran the tests from test folder, and all passed. I'll thank you a lot if you were to approve it, @icaioincau, since we are in need to use your directive.

caioincau commented 7 years ago

PR merged @matheusgrieger , thanks.