Syncfusion.EJ2.Blazor 17.4.0.42
.NET Core 3.1
Using the below code:
<EjsDropDownList TValue="long?" TItem="EmployeeRole" Placeholder="Select a role" DataSource="@Roles">
<DropDownListFieldSettings Value="Id" Text="Name"></DropDownListFieldSettings>
<DropDownListEvents ValueChange="OnSelectHandler" TValue="long"></DropDownListEvents>
</EjsDropDownList>
@code{
public List<EmployeeRole> Roles { get; set; }
public void OnSelectHandler(ChangeEventArgs<long> args)
{
var id = args;
}
}
The dropdown list populates and when I change the selection the OnSelectHandler doesn't fire. It seems that everything else is working appropriately though.