Date Picker allows disabled dates

With version 2.18.8, the DatePicker will allow a disabled date. The user is unable to select a disabled date, but a disabled date is selected when using the arrow buttons to move to the next month. See the screen shots for samples.

  public async Task SetFilingDate(DateTime filingDate)
    {
        FilingDate = filingDate;
        await Task.CompletedTask;
    }

    public async Task SetYearEnd(DateTime yearEnd)
    {
        YearEnd = yearEnd;
        await Task.CompletedTask;
    }

    protected void DisabledDates(DateRenderEventArgs args)
    {
        args.Disabled = (args.Date >= YearEnd);
        if (args.Date.Equals(FilingDate))
        {
            args.Attributes.Add("style", "background-color: var(--primary); border-color: white;");
        }
    }

We will do our best to provide fix for this in the next update.

No rush. And thank you!

Any news on this (as it still seems to be an issue)?

Hello,

This issue still persists. Is there any news as to when this could be fixed? Many thanks.