uvarov-frontend / vanilla-calendar-pro

Vanilla Calendar is a versatile JavaScript date and time picker with TypeScript support, making it compatible with any JavaScript framework or library. It is designed to be lightweight, simple to use, and feature-rich without relying on external dependencies.
https://vanilla-calendar.pro
MIT License
445 stars 58 forks source link

disable all days in a month, whatever the year #270

Closed ligne13 closed 2 months ago

ligne13 commented 2 months ago

Hi,

I need to disable all dates in a specific month, whatever the year. Is it possible?

Thank you.

uvarov-frontend commented 2 months ago

This cannot be done using the calendar settings, but you can write a function that will check the month in the selected year and disable these dates.