Calendar with 'Valid Dates'

Good morning everyone. Is it possible, through queries, to view the valid dates of a calendar?
In practice the opposite of 'Invalid Dates' already present.
Thank you

datacalendario

Just for clarity, are you talking about the calender or datepicker element?

Datepicker :+1:

It's not possible currently, as far as I know. I'm sure it has been suggested before, so time ago, but I can't find a Feature Request. Create the FR an I will definitely vote for it!

1 Like

Are the valid dates coming from a database query? Or are they something like "every Thursday"?

Yes, it's a query with 'start date' and ' end date'
But I will probably approach my problem in a different way, since as I understand the datepicker is not simply customizable in that way
I would need to know if it is possible to enlarge a little. Thanks

You can customize everything via CSS. Just use the dev tools to explore the element you want to change and see which is the css class which controls its appearance.

Maybe we can add an option to have only allowed dates, similar to how disabled dates work in the date picker @patrick ?

That would be great