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 4 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: 3.2.0
- Device: desktop, chromebook
- Browser: Edge, Chrome
- OS: Windows10, ChromeOS
- Provided sample code: No
- Provided link: Yes