I have a server side Blazor application and trying to use the DateRangePicker control and using the following
<DateRangePickerEvents ValueChange="@valueChangeAsync"></DateRangePickerEvents>
private async Task valueChangeAsync(Syncfusion.EJ2.Blazor.Calendars.RangeEventArgs args)
{
DateFrom = args.StartDate;
DateTo = args.EndDate;
}
I am able to initially set DateFrom and DateTo but valueChangeAsync is called multiple times and resets to the default values.
Any ideas?