Skip to content

Commit

Permalink
Merge pull request #16109 from primefaces/issue-15969
Browse files Browse the repository at this point in the history
Fixed #15969 - Calendar | p-datepicker-current-day is not applied to …
  • Loading branch information
cetincakiroglu authored Aug 1, 2024
2 parents 6ca5050 + 27ffcd9 commit 4016d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export const CALENDAR_VALUE_ACCESSOR: any = {
<td *ngFor="let date of week" [attr.aria-label]="date.day" [ngClass]="{ 'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today }">
<ng-container *ngIf="date.otherMonth ? showOtherMonths : true">
<span
[ngClass]="{ 'p-highlight': isSelected(date) && date.selectable, 'p-disabled': !date.selectable }"
[ngClass]="{ 'p-highlight p-datepicker-current-day': isSelected(date) && date.selectable, 'p-disabled': !date.selectable }"
(click)="onDateSelect($event, date)"
draggable="false"
[attr.data-date]="formatDateKey(formatDateMetaToDate(date))"
Expand Down

0 comments on commit 4016d6d

Please sign in to comment.