Calendar: WeekNumber looks like it is selectable #9746
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
I'm submitting a ...
Current behavior
![image](https://user-images.githubusercontent.com/46870283/104177891-cadf4200-5409-11eb-976b-ce539d6522fc.png)
When you hover over the weekNumber in Calendar it behaves like it is selectable (gray background and cursor: pointer).
Expected behavior
![image](https://user-images.githubusercontent.com/46870283/104178025-feba6780-5409-11eb-9cc6-45fd97968823.png)
The weekNumber should be disabled like the weekNumber header.
Then they are less likely to be confused with the actual dates.
You just have to add the class
p-disabled
in addition top-datepicker-weeknumber
.primeng/src/app/components/calendar/calendar.ts
Line 83 in 0c510bf
The text was updated successfully, but these errors were encountered: