Datepicker min/max not working as expected


Topic: Datepicker min/max not working as expected

joannarom asked 4 years ago

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

Thanks for reporting this bug. We'll fix it as soon as possible


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • 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