Closed bahar-1396 closed 6 months ago
I agree, we need a solution for that, maybe a func like the one that has just been PRed which allows to disable certain dates.
Hi! Is this still a desired feature?
If so, I'd like to take a crack at it - my thought was to have a parameter which accepted an array of dates dates (with specific colors?) to the component; that way users could specify which holidays they want to stand out (there are so many holidays, one could argue the whole year would just be one holiday after another).
Actually we already have this functionality. Check this out https://mudblazor.com/components/datepicker#disable-or-customize-days
You can set a func that configures the CSS classes to be applied to the specific days.
hi days weekend(Saturday or Sunday and Friday for jalali date ) or year holidays to red color , is a feature that makes the component more beautiful and better