Skip to content

Commit 6c0ec08

Browse files
committed
fix(calendar): exclude disabled dates #4282
1 parent b883778 commit 6c0ec08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/calendar/days-view/days-view.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export class IgxDaysViewComponent extends IgxCalendarBase implements DoCheck {
208208
*/
209209
public isSelected(date: ICalendarDate): boolean {
210210
let selectedDates: Date | Date[];
211-
if (!date.isCurrentMonth) {
211+
if (!date.isCurrentMonth || this.isDateDisabled(date.date)) {
212212
return false;
213213
}
214214

0 commit comments

Comments
 (0)