From abef49699c69b57b1a2891b270fb143fd9790d4f Mon Sep 17 00:00:00 2001 From: betavs Date: Thu, 28 Nov 2024 18:23:00 +0800 Subject: [PATCH] fix(component): [input-mask] same value triggers update --- packages/primevue/src/inputmask/InputMask.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/primevue/src/inputmask/InputMask.vue b/packages/primevue/src/inputmask/InputMask.vue index cbec1a1ee..d2264ba25 100755 --- a/packages/primevue/src/inputmask/InputMask.vue +++ b/packages/primevue/src/inputmask/InputMask.vue @@ -447,6 +447,7 @@ export default { }, updateModelValue(value) { + if (this.currentVal === value) return; const val = this.unmask ? this.getUnmaskedValue() : value; this.currentVal = value;