I started with Blazor today while already having some experience in web-dev. However it seems that isn't enough. I want to get the eventarguments of an onkeydown event, so I can check for an enter-key-press.

I already tried to use a function in my event to check the keypress in a separate function, and already tried directly inserting something into the onkeydown event but nothing worked.

The following is the event I want to get the keypress from.

<input onkeydown="" bind="@todo.Title" />

Related posts

Recent Viewed