Topic: Datepicker min/max not working as expected
Expected behavior When setting the min and max values for the Datepicker, I would expect those values to be selectable from the datepicker.
Actual behavior The minimum date selectable is the day AFTER the min value set. the maximum date selectable is the day BEFORE the max value set.
Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/joannarom/2884806
I suspect that the code is performing a > (greater than) and < (less than) comparisons, instead of >= and <= operations
Grzegorz Bujański
staff answered 1 months ago
Answered
- User: Pro
- Premium support: No
- Technology: MDB 5
- MDB Version: 3.2.0
- Device: desktop, chromebook
- Browser: Edge, Chrome
- OS: Windows10, ChromeOS
- Provided sample code: No
- Provided link: Yes