Closed HenryP3 closed 6 years ago
With this new decimal support the implementation of money mask that was:
<input v-model="price" v-mask="'money'"/>
Should be now:
<template> <input v-model="price" v-mask="money"/> </template> <script> [...] export default { data () { return { price: null, money: { mask: 'money', precision: 2 // defines the number of zeroes after the decimal separator } } } } </script>
With this new decimal support the implementation of money mask that was:
Should be now: