I have an multiselect Dropdown control in my application. I have used below code for "Enter Key" Navigation. It works only for "Num Enter Key" but its not working for Key Pad Enter Key (Big Enter Key)
Note:-
When I press "Key Pad Enter Key (Big Enter Key)",the below event is not fire but the same code is working sfdropdown control
Razor Page :-
<th width="80%">
<div class="table-title">
<SfMultiSelect @ref="cmbfilterlist" @bind-Value="@selectedItemList" TValue="string[]" TItem="GenericDropDownData" FilterType="Syncfusion.Blazor.DropDowns.FilterType.Contains" AllowFiltering="true" @onkeypress="AddRowkeydown" DataSource="rulesFilterValue">
<MultiSelectFieldSettings Value="ID" Text="Name"></MultiSelectFieldSettings>
<ValidationMessage For="@(() => roleTemplateDetail.FilterIDsList)"/>
<MultiSelectEvents TItem="GenericDropDownData" TValue="string[]" OnValueSelect="OnValueSelect" ValueRemoved="OnValueRemoved"></MultiSelectEvents>
</SfMultiSelect>
CS Code :-
public async Task AddRowkeydown(Microsoft.AspNetCore.Components.Web.KeyboardEventArgs args)
{
if (args.Key == "Enter")
{
}
}
</div>
</th>
Please check this control within EditFom.