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.72k stars 212 forks source link

How can I give style to input #139

Open murilolivorato opened 4 years ago

murilolivorato commented 4 years ago

I want to give a style to input . does have any "class" property ? something like this -

  <input type="tel" v-mask="'(##)#####-####'" class="'form-control'" v-model="form.phone" />

I cant use class="'form-control'" .

murilolivorato commented 4 years ago

my mistake , I have to do like this -

<input type="text" v-mask="'(##)#####-####'" class="'form-control'" v-model="form.phone" />

now it works , thanks for share this code with us .