igniteui-webcomponents
igniteui-webcomponents copied to clipboard
IgcDatePicker - Next and previous month buttons remain grayed out even when the calendar is between minDate and maxDate.
Description
IgcDatePicker - Next and previous month buttons remain grayed out even when the calendar is between minDate and maxDate.
Steps to reproduce
- npm install --force and npm start the attached sample. Open http://localhost:8080/
- Click the calendar button of the upper date picker.
- Change the year to 2022 or any other year in the past. -> Observe the Next month button.
- Close the calendar.
- In the same way, in the lower date picker, open the calendar and change the year to 2025 or any other year in the future. -> Observe the Previous month button.
Result
At the Step#3: The Next month button remains disabled and grayed out. At the Step#5: The Previous month button remains disabled and grayed out.
Expected result
At the Step#3: The Next month button becomes enabled. At the Step#5: The Previous month button becomes enabled.