From a595e511a7f2267d8eb5618995e2c35ebb2fcf70 Mon Sep 17 00:00:00 2001 From: navedx <86619109+navedx@users.noreply.github.com> Date: Wed, 29 Apr 2026 11:20:13 +0530 Subject: [PATCH 1/2] Clear confirmation object on accept, reject, and hide Reset confirmation object to null after dialog actions. --- packages/primevue/src/confirmdialog/ConfirmDialog.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/primevue/src/confirmdialog/ConfirmDialog.vue b/packages/primevue/src/confirmdialog/ConfirmDialog.vue index 821fc65268..b8129873f0 100644 --- a/packages/primevue/src/confirmdialog/ConfirmDialog.vue +++ b/packages/primevue/src/confirmdialog/ConfirmDialog.vue @@ -109,6 +109,7 @@ export default { } this.visible = false; + this.confirmation = null; }, reject() { if (this.confirmation.reject) { @@ -116,6 +117,7 @@ export default { } this.visible = false; + this.confirmation = null; }, onHide() { if (this.confirmation.onHide) { @@ -123,6 +125,7 @@ export default { } this.visible = false; + this.confirmation = null; } }, computed: { From 8d2722d1bbc8c5c596c40de432c43fce528c13ca Mon Sep 17 00:00:00 2001 From: navedx <86619109+navedx@users.noreply.github.com> Date: Wed, 29 Apr 2026 11:24:55 +0530 Subject: [PATCH 2/2] Clear confirmation object on accept, reject, and hide Reset confirmation object to null after actions. --- packages/primevue/src/confirmpopup/ConfirmPopup.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/primevue/src/confirmpopup/ConfirmPopup.vue b/packages/primevue/src/confirmpopup/ConfirmPopup.vue index 82a78ace60..df15450f40 100644 --- a/packages/primevue/src/confirmpopup/ConfirmPopup.vue +++ b/packages/primevue/src/confirmpopup/ConfirmPopup.vue @@ -143,6 +143,7 @@ export default { } this.visible = false; + this.confirmation = null; }, reject() { if (this.confirmation.reject) { @@ -150,6 +151,7 @@ export default { } this.visible = false; + this.confirmation = null; }, onHide() { if (this.confirmation.onHide) { @@ -157,6 +159,7 @@ export default { } this.visible = false; + this.confirmation = null; }, onAcceptKeydown(event) { if (event.code === 'Space' || event.code === 'Enter' || event.code === 'NumpadEnter') {