Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Crash Site when MaxDate is set AND start date and end date >= Jan 1st 2022
If I simply remove the MaxDate, then the control works. My C# code is:
SfDateRangePicker TValue="DateTime?" @bind-StartDate='@startTime' @bind-EndDate='@endTime' Max='@MaxDate'
DateRangePickerEvents TValue="DateTime?" DateRangePickerEvents
SfDateRangePicker
DateTime MaxDate = DateTime.Now.AddDays(1);
public DateTime? startTime { get; set; } = DateTime.Now.AddDays(-4).Date;
public DateTime? endTime { get; set; } = DateTime.Now.AddDays(1).Date.AddSeconds(-1);
And if I put the date in Dec it semi works, until I pick a date > Jan 1, 2022