ConfirmDialog: Duplicated AcceptIcons #13001
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When using the ConfirmDialog with an AcceptIcon, it will show twice within the button:
The bug maybe got introduced when the templates for the button got added:
primeng/src/app/components/confirmdialog/confirmdialog.ts
Line 96 in ac054f9
Then the templates adds another icon:
primeng/src/app/components/confirmdialog/confirmdialog.ts
Line 105 in ac054f9
Environment
The bug occurs on primeng version 15.4.1 but not on 15.3.0
Reproducer
https://stackblitz.com/edit/hvvmec?file=src/app/demo/confirm-dialog-position-demo.ts
Angular version
15.2.1
PrimeNG version
15.4.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.14.2
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The icon should only show once
The text was updated successfully, but these errors were encountered: