Skip to content

Commit

Permalink
Merge pull request #6886 from betavs/hotfix/input-mask-update-model-v…
Browse files Browse the repository at this point in the history
…alue

fix(component): [input-mask] same value triggers update
  • Loading branch information
tugcekucukoglu authored Nov 29, 2024
2 parents d0ce71a + abef496 commit ea410e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/primevue/src/inputmask/InputMask.vue
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ export default {
},
updateModelValue(value) {
if (this.currentVal === value) return;
const val = this.unmask ? this.getUnmaskedValue() : value;
this.currentVal = value;
Expand Down

0 comments on commit ea410e3

Please sign in to comment.