What's the proper way to implement formatting on v-model in Vue.js 2.0
<p>For a simple example: textbox to input currency data.
The requirement is to display user input in "$1,234,567" format and remove decimal point.</p>

<p>I have tried vue directive. directive's update method is not called when UI is refreshed due to other controls. so value in textbox reverts to the one without any formatting.</p>

<p>I also tried v-on:change event handler. But I don't know how to call a global function in event handler. It is not a good practice to create a currency convert method in every Vue object.</p>

<p>So what is the standard way of formatting in Vue 2.0 now?</p>

<p>Regards</p>