jonathanpmartins / v-money3

Vue3 currency input/directive mask
MIT License
103 stars 27 forks source link

update:model-value is duplicated #35

Closed AndrolGenhald closed 3 years ago

AndrolGenhald commented 3 years ago

Because update:model-value is emitted whenever the input is changed, and the input is changed when being formatted, update:model-value events are duplicated.

jonathanpmartins commented 3 years ago

Pull request code was introduces in this commit: https://github.com/jonathanpmartins/v-money3/commit/4760c7aee518b4487b3b8c3483f3abb4b352fa5a

I will close this issue now. It's not solved at the moment, but will be in the next release! Thanks!