I want to be able to use either the enter key, or a button to search and I cant figure out a way to only call the search method on enter when using OnChange().
<
div
class
=
"form-group"
>
<
TelerikTextBox
Id
=
"look-up-value"
@
bind-Value
=
"LookUpValue"
Class
=
"form-control"
OnChange="(async () => { await LookUpShipment(); })"></
TelerikTextBox
>
</
div
>
<
TelerikButton
Class
=
"btn"
Primary
=
"true"
OnClick
=
"LookUpShipment"
>@TranslationService[Label.Search]</
TelerikButton
>