igniteui-webcomponents icon indicating copy to clipboard operation
igniteui-webcomponents copied to clipboard

IgcDatePicker - Next and previous month buttons remain grayed out even when the calendar is between minDate and maxDate.

Open norikois opened this issue 2 years ago • 0 comments

Description

IgcDatePicker - Next and previous month buttons remain grayed out even when the calendar is between minDate and maxDate.

Steps to reproduce

  1. npm install --force and npm start the attached sample. Open http://localhost:8080/
  2. Click the calendar button of the upper date picker.
  3. Change the year to 2022 or any other year in the past. -> Observe the Next month button.
  4. Close the calendar.
  5. 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.

Attachments

c00233367-wcApp4.zip

norikois avatar Oct 30 '23 03:10 norikois