Calendar component disable holidays

Hello All,

For certain parts of our systems we allow the users to enter manual data. Recently there has been a request to not allow a sure to enter data for a public holiday.
While I can achieve this via data validation script, it would be neater to have the calendar component look at a db listing holidays and then not allow selection of those days. Has anyone done something like this?

Please tag your question as Vision or Perspective. The answer will be different in each case.

1 Like

Hi, thank you for the comment, I would like to do it in both, currently we migrating projects towards perspective, but still have vision windows as well.

Perspective does not allow for disabling individual days of a Calendar component. You can somewhat achieve this with CSS styling, but it breaks down as soon as you change the year in use by the picker, and you would need to update the CSS rules every year. :grimacing: