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

customTokens - add this sufix - m² / after text #142

Open murilolivorato opened 4 years ago

murilolivorato commented 4 years ago

Hello , I wold like after this -

200

show like this -

200 m² 

( with sufix m² ) how could I do it ?

Thanks

DinsmoreDesign commented 4 years ago
<input v-mask="'### m²'">

This seems to work just fine.

Vadiok commented 3 years ago

@DinsmoreDesign the problem is you can't write 2 m² & 20000 m² at the same input field.