Describe the bug
Whenever we disable few week days except the first week day, clicking on the week number is not selecting the corresponding week. However user can still select the enabled week days manually to select that complete week.
To Reproduce
Steps to reproduce the behavior:
Set showWeekNumbers prop
Disable any week day other than the first week day (if you enable the first weekday, it'll work)
Describe the bug Whenever we disable few week days except the first week day, clicking on the week number is not selecting the corresponding week. However user can still select the enabled week days manually to select that complete week.
To Reproduce Steps to reproduce the behavior:
Sample Code to reproduce the issue
Expected behavior It should select the corresponding week even at least one day of the week is enabled.
Screenshots https://github.com/Hacker0x01/react-datepicker/assets/145029139/84523389-1805-4ad1-8aef-71c4a4ab01f1