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!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

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