Hi Scott,
Greetings from Syncfusion support.
We have validated the shared code example. From that we noticed, you may be faced an error due to improper approach of event binding. We have provided tag support for event binding. Kindly follow the below mentioned code example to resolve your issue.
Code example:
<EjsDateRangePicker ID="date-range">
<DateRangePickerEvents ValueChange="@valueChange"></DateRangePickerEvents>
</EjsDateRangePicker>
@code {
public void valueChange(Syncfusion.EJ2.Blazor.Calendars.RangeEventArgs args)
{
this.Data.Add(new PlaylistItemModel() { Title = "Change Eventtriggered" });
this.StateHasChanged();
}
} |
Also, we suggest you to use ValueChange event instead of using ValueChanged. Let us know if you need further assistance on this.
Regards,
Narayanasamy P.