Topic: MDBDatepicker allows selecting current date even if it is disabled

VDLP priority asked 1 year ago


We have a problem with the MDB Datepicker.

Expected behavior

Under no circumstance any of the disabled dates should be selected when :filter="(date) => date != null" is present on the datepicker.

Actual behavior

If you follow these steps, the current date is selected in the datepicker:

  1. Open the datepicker.
  2. Click "Cancel"
  3. Open the datepicker.
  4. Click "OK"
  5. The current date is selected, even though it's disabled.

Resources (screenshots, code snippets etc.)

Kind Regards,

Van der Let & Partners

Bartosz Cylwik staff answered 1 year ago

Hello! Fix is ready and is waiting for release. Best Regards!

VDLP priority answered 1 year ago

Will this issue be fixed in the next release?

Hi! Thank you for letting us know. I have added this issue to our to do list. But in case this is going to help you, you can pass props validate to Datepicker and inform users that this is wrong date.

Keep coding!

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: MDB5 3.0.0
  • Device: n/a
  • Browser: n/a
  • OS: n/a
  • Provided sample code: Yes
  • Provided link: Yes