vuejs-tips / vue-the-mask

Tiny (<2k gzipped) and dependency free mask input for Vue.js
https://vuejs-tips.github.io/vue-the-mask/
1.74k stars 213 forks source link

Show input placeholder before touching input (directive) #150

Open avxkim opened 4 years ago

avxkim commented 4 years ago

Currently, mask shows up only when u're typing inside it. Is it possible to always show the mask, like: +1 (___) ___--____ ?

As far as i understand:

image

That's what i need - placeholder: string, but it's not available via directive, only as a component.

If i use as component, then i omit my vuetify textfield component, hence i went a directive approach, is it possible to use a component mode with a custom component?

ksh801 commented 1 year ago

@avxkim hello, did you solve this issue? if yes please make a comment how you did this