I am trying to check if it’s possible to make certain dates unavailable for the user in the same style that the user can not click on dates before min_date_allowed and not on dates after max_date_allowed, but I can not find it anywhere.
So for example if I wish to make weekend dates unavailable for the user to select. In my case I have a dataframe with specific dates that are not available.
Thanks for your help.
If you know your min and max date range to apply to the date picker, you can use the
max_date_allowed properties. These define the minimum and maximum selectable dates on the calendar.
I’m not sure if there is a way to control individual days/dates for enabling or disabling selection by a user. The official documentation doesn’t seem to mention any option that supports this level of restriction.