Uh oh!
There was an error while loading. Please reload this page.
fix(datepicker): don't allow clicks on disabled cells in year and multi-year views - #13448
Conversation
| <tr><th class="mat-calendar-table-header-divider" colspan="4"></th></tr> | ||
| </thead> | ||
| <tbody mat-calendar-body | ||
| allowDisabledSelection="true" |
There was a problem hiding this comment.
@mmalerba this behavior seems pretty deliberate, but I'm not sure whether it makes sense. Also it only applies to mouse users, because you can't reach disabled cells with the keyboard.
There was a problem hiding this comment.
It looks like its been that way since the beginning, but I don't remember why I did it, and I agree that it doesn't really make sense. Can we also remove the allowDisabledSelection input from calendar body?
…ti-year views Doesn't allow users to click on disabled cells inside the calendar in the year and multi-year views. Fixesangular#13446.
74510ef to
80edd2eCompareThis issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Doesn't allow users to click on disabled cells inside the calendar in the year and multi-year views.
Fixes#13446.