Hello,
I am using a TelerikAutoComplete-component as a search bar.
When pressing 'Enter', the component fills the bar with the first item in the suggestions list, if any.
Is there a way to keep the suggestions list, and the option to click on any suggestion, but override control to make 'Enter' do something other than selecting the first item?
Something like this: <div @onkeydown="@OnKeyDown">
<TelerikAutoComplete Data="@Suggestions"
MinLength="3"
Rounded="@ThemeConstants.AutoComplete.Rounded.Full"
Size="@ThemeConstants.AutoComplete.Size.Large"/>
</div>
private void OnKeyDown(KeyboardEventArgs e)
{
if (e.Key == "Enter")
{
Console.WriteLine("yo");
}
}