v-mask icon indicating copy to clipboard operation
v-mask copied to clipboard

Input event triggered immediately even if no data changed

Open morgant opened this issue 5 years ago • 3 comments

V-Mask and Vue versions

2.2.3, 2.6

Reproduction Link

https://codesandbox.io/s/hungry-grass-pqldb

Steps to reproduce

  1. Add a mask to an input field
  2. Add an @input event handler

What is Expected?

The input event should be fired upon updating the value of the field.

What is actually happening?

The input event is being fired upon the initial value being set, even if it matches the mask formatting and is not modified.

This may be related to Issue #460.

morgant avatar Jul 28 '20 20:07 morgant

Same here😥

webistomin avatar Nov 11 '20 11:11 webistomin

+1

dimasi avatar May 04 '21 13:05 dimasi

+1

v1talii-dev avatar Jun 08 '23 08:06 v1talii-dev