Skip to content

Commit 74510ef

Browse files
committed
fix(datepicker): don't allow clicks on disabled cells in year and multi-year views
Doesn't allow users to click on disabled cells inside the calendar in the year and multi-year views. Fixes #13446.
1 parent 15a1ab7 commit 74510ef

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/lib/datepicker/multi-year-view.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<tr><th class="mat-calendar-table-header-divider" colspan="4"></th></tr>
44
</thead>
55
<tbody mat-calendar-body
6-
allowDisabledSelection="true"
76
[rows]="_years"
87
[todayValue]="_todayYear"
98
[selectedValue]="_selectedYear"

src/lib/datepicker/year-view.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<tr><th class="mat-calendar-table-header-divider" colspan="4"></th></tr>
44
</thead>
55
<tbody mat-calendar-body
6-
allowDisabledSelection="true"
76
[label]="_yearLabel"
87
[rows]="_months"
98
[todayValue]="_todayMonth"

0 commit comments

Comments
 (0)