maska
maska copied to clipboard
Mask price
How to mask prices? e.g.:
12500 → 125,00 100 → 1,00
You could use mask #*,##
I dont know if i'm doing something wrong... I'm trying the following way:
v-maska="{mask: '#*,##'}"
Dont seems to be working. I'm missing something?
No, this should work if you have maska correctly initialized.
The weird thing is that maska is working for another kind of pattern:
v-maska="['##%','#%', '###%']"
It doesn't work for me also. I'm trying to find out what's wrong
Could you create example of not working code in some sandbox?