Closed joohncruz closed 7 years ago
Are you using which event on the template? Have you tried to get the value after Vue.nextTick
?
@JoohnCruz
@iCaio i will try to use the Vue.nextTick
,
I just tried to use, important and as directive.
Example:
` import AwesomeMask from 'awesome-mask'
Vue.directive('mask', AwesomeMask); `
<input name="cpfcan" id="cpfcan" v-model="inscricao.cpfcan" v-mask="'999.999.999-99'">
No event is intended for this.
After some hours looking for it, I found this: https://github.com/vuejs/vue/issues/2804
This is related to this Vue issue.
I think I have fixed it on version 0.4.2, can you try it @JoohnCruz ?
Issue closed due one week or ore of inactivity
I am having problems when the user paste the value of the field(ctrl + v). The field fullfil the mask correctly, but the element in the data property in vuejs stays without the mask. Have you been through this?
Code:
Example:
Copy paste:
Write: