Skip to content

Commit 2068fcb

Browse files
committed
feat(datepicker): Stopped disabling dates if they're not in a month
Partially addresses #165
1 parent b7054e3 commit 2068fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/datepicker/views/date-view.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class CalendarRangeDateService extends CalendarRangeService {
1515
public configureItem(item:CalendarItem, baseDate:Date):void {
1616
item.humanReadable = item.date.getDate().toString();
1717
item.isOutsideRange = item.date.getMonth() !== baseDate.getMonth();
18-
item.isSelectable = item.isDisabled || item.isOutsideRange;
18+
item.isSelectable = item.isDisabled;
1919
}
2020
}
2121

0 commit comments

Comments
 (0)