InputMask components fires @update:modelValue although value not changed #6868
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
InputMask component fires @update:modelValue function everytime by clicking inside and outside the input even when the value was not changed.
Simple code is as follows:
Reproducer
https://stackblitz.com/edit/mkk2dr?file=src%2FApp.vue
PrimeVue version
3.53.0
Vue version
3.x
Language
ES6
Build / Runtime
Vite
Browser(s)
Chrome 115
Steps to reproduce the behavior
The sample code is in the description.
Click on the input's inside.
Don't change the value
Click outside the input.
Bug: handleInput function executes, (i.e. @update:ModelValue is triggered.)
Expected behavior
Click on the input's inside.
Don't change the value
Click outside the input.
handleInput function must not execute, (i.e. @update:ModelValue must not be triggered.)
The text was updated successfully, but these errors were encountered: