Skip to content

Commit

Permalink
feat(datepicker): Stopped disabling dates if they're not in a month
Browse files Browse the repository at this point in the history
Partially addresses #165
  • Loading branch information
edcarroll committed Jul 19, 2017
1 parent b7054e3 commit 2068fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/datepicker/views/date-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class CalendarRangeDateService extends CalendarRangeService {
public configureItem(item:CalendarItem, baseDate:Date):void {
item.humanReadable = item.date.getDate().toString();
item.isOutsideRange = item.date.getMonth() !== baseDate.getMonth();
item.isSelectable = item.isDisabled || item.isOutsideRange;
item.isSelectable = item.isDisabled;
}
}

Expand Down

0 comments on commit 2068fcb

Please sign in to comment.