I'm showing blocked dates in the calendar based on a filter.
Whenever the filter change I need to redraw the cell in order to indicate the new state.
I can't find any way to do this as the Calendar doesn't redraw if I call StateHasChanged() on the parent component.
Any advice would be appreciated.
The code only works for the initial filter applied to my blocked days.
private void OnRenderDayCellHandler(RenderDayCellEventArgs args)
{
if (ViewModel?.BlockedDays != null)
{
args.IsDisabled = ViewModel.BlockedDays.Contains(args.Date);
}
}