Closed amy83762100 closed 2 months ago
https://www.notion.so/eqproduct/Lumen-Fix-date-picker-year-range-bug-acfd5511fc474f5dac25d730d91943da
Add the fixedRange parameter to the date picker to allow setting a fixed year range.
Before:
https://github.com/EQWorks/lumen-labs/assets/76548841/436da803-0291-4a37-b6ff-be03c3e096d5
After:
By setting fixedRange=true, the datepicker will stay in a fixed year range.
The years before minDate and the years after maxDate will not shown in the year dropdown
The year that is earlier than the start year will not be shown in the end year dropdown
https://github.com/EQWorks/lumen-labs/assets/76548841/fc7bd6c0-eaa7-44f9-9495-63e647b0a2ad
https://www.notion.so/eqproduct/Lumen-Fix-date-picker-year-range-bug-acfd5511fc474f5dac25d730d91943da
Change:
Add the fixedRange parameter to the date picker to allow setting a fixed year range.
Before:
https://github.com/EQWorks/lumen-labs/assets/76548841/436da803-0291-4a37-b6ff-be03c3e096d5
After:
By setting fixedRange=true, the datepicker will stay in a fixed year range.
The years before minDate and the years after maxDate will not shown in the year dropdown
The year that is earlier than the start year will not be shown in the end year dropdown
https://github.com/EQWorks/lumen-labs/assets/76548841/fc7bd6c0-eaa7-44f9-9495-63e647b0a2ad