danheron / Heron.MudCalendar

Calendar component for MudBlazor
MIT License
174 stars 33 forks source link

Disable click event on cells #99

Open r000tmnt opened 8 months ago

r000tmnt commented 8 months ago

Hello. The CellClicked attribute makes all the cells clickable on the calendar is a neat feature. While it matchs my need to build a multi-selectable calendar, I wonder if there is any way to disable the click event on certain days.

danheron commented 8 months ago

There isn't a way to disable the click event on certain days. Can't you just ignore the event if it's a date you're not interested in?

r000tmnt commented 8 months ago

Well, that's exactly what I did. I still want to ask just for the possibility to disable it. Thanks for the reply.

danheron commented 8 months ago

I'll leave the issue open, but it's not something I'm planning to add at the moment.