0
How do I get the return value of this function into the field where you are running Keyup?
<input type="text" v-model="valor_calc_dinheiro" v-on:keyup.stop.prevent="mascara_dinheiro($event.target.value)" ref="valor_calc_dinheiro">
mascara_dinheiro : function(valor){
v=valor.replace(/(\d{1})(\d{1,2})$/,"$1.$2")
alert(v);
},
this.valor_calc_dinheiro = valor.replace(/(\d{1})(\d{1,2})$/,"$1.$2")
– Marconi