biletiki.store — a website example for searching for flight tickets and hotels using vanilla-calendar.
Enabling or Disabling Days
Sometimes you may need to disable specific days so they are not available for selection. The examples below show how this can be done.
It's important to understand that in the examples below, the parameters
settings.selected.month are only specified for the demonstration of a particular month.
The example below demonstrates the disabling of specific days.
And in the following example, it shows how to enable specific days, which can be simpler than specifying a list of disabled days.
- Maximum and Minimum Date for Display