Skip to content

Commit

Permalink
Merge pull request #17207 from Delagen/fix-datepicker-template
Browse files Browse the repository at this point in the history
Fix #17206 - calendar next button user template
  • Loading branch information
mehmetcetin01140 authored Dec 26, 2024
2 parents c7ef40a + f78d02b commit 567333a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/primeng/src/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export const CALENDAR_VALUE_ACCESSOR: any = {
[ngStyle]="{ visibility: i === months.length - 1 ? 'visible' : 'hidden' }"
[attr.aria-label]="nextIconAriaLabel"
>
<ChevronRightIcon *ngIf="!decadeTemplate && !_decadeTemplate" />
<ChevronRightIcon *ngIf="!nextIconTemplate && !_nextIconTemplate" />
<span *ngIf="nextIconTemplate || !_nextIconTemplate">
<ng-template *ngTemplateOutlet="nextIconTemplate || _nextIconTemplate"></ng-template>
Expand Down
2 changes: 1 addition & 1 deletion packages/primeng/src/datepicker/datepicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export const DATEPICKER_VALUE_ACCESSOR: any = {
[ngStyle]="{ visibility: i === months.length - 1 ? 'visible' : 'hidden' }"
[attr.aria-label]="nextIconAriaLabel"
>
<ChevronRightIcon *ngIf="!decadeTemplate && !_decadeTemplate" />
<ChevronRightIcon *ngIf="!nextIconTemplate && !_nextIconTemplate" />
<span *ngIf="nextIconTemplate || !_nextIconTemplate">
<ng-template *ngTemplateOutlet="nextIconTemplate || _nextIconTemplate"></ng-template>
Expand Down

0 comments on commit 567333a

Please sign in to comment.