Disable a specific date from datepicker


Topic: Disable a specific date from datepicker

asked 2 years ago

Currently we can only disable certain days of the week (e.g. Saturday or Sunday). It'll be very handy to have a certain date disabled. that would allow us to disable days like public holidays or any other event from the calendar.


mlazaru staff answered 2 years ago

Hi,

This example is in fact showing only how to disable certain days of the week, but the filter option could be also used in different way.

Check out my snippet - I have designated 10.10.2022 as a day off and it can't be selected.


FREE CONSULTATION

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

Status

Closed

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: -
  • Device:
  • Browser:
  • OS:
  • Provided sample code: No
  • Provided link: No