Hello everyone,
I have a requirement where I should be able to grey out the weekends for the user while selecting any date on a date field. Also, they have some list of standard specific dates where the calender should be greyed out. Can anyone help me how I can achieve this?
Thanks!!
Discussion posts and replies are publicly visible
I'd suggest you use standard field validations. The real only alternative is to build your own novel calendar picker component (you could probably cobble something together using card Layout items arranged in tiles, etc). If you have no idea how to do that, then I suggest just sticking with validations, as it's fairly straightforward.
+1 for validations. I would advise against buillding a custom component for this.