Vue

Vue.js input number formatting

Are you using Vue.js and need to apply input / output formatting to a number input field?

This is quite tricky, as I had to find out. Finally I'd suggest not to waste your time, but use this library instead:
https://github.com/dm4t2/vue-currency-input ;)