diff --git a/packages/primeng/src/confirmdialog/confirmdialog.ts b/packages/primeng/src/confirmdialog/confirmdialog.ts index f5d0e60e736..0ccf9b80753 100755 --- a/packages/primeng/src/confirmdialog/confirmdialog.ts +++ b/packages/primeng/src/confirmdialog/confirmdialog.ts @@ -80,7 +80,7 @@ const hideAnimation = animation([animate('{{transition}}', style({ transform: '{ *ngIf="option('rejectVisible')" [label]="rejectButtonLabel" (onClick)="onReject()" - [styleClass]="cx('pcRejectButton', option('rejectButtonStyleClass'))" + [styleClass]="getButtonStyleClass('pcRejectButton', 'rejectButtonStyleClass')" [ariaLabel]="option('rejectButtonProps', 'ariaLabel')" [buttonProps]="getRejectButtonProps()" > @@ -92,7 +92,7 @@ const hideAnimation = animation([animate('{{transition}}', style({ transform: '{