I suggest;
v-model.trim="input" @keyup="formatMoney" in your input element(maybe denounce="500" too)
Your formatMoney method:
Return the.input = parseFloat(this.input).toFixed(2)
Summer Sale! All accounts are 50% off this week.
Hello Guys , Does some one knows how to make something like that in VUE-
http://flaviosilveira.com/Jquery-Price-Format/
I wold like to make some price format inside the input , like if I type -
2000 . it will convert to 20,00 .
Can I use a filter inside the input ?
Thanks
Please or to participate in this conversation.