You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<input id="EditBox" type="text" @onkeydown="KeyWasPressed" @onfocusout="() => anymethod()" value="@anyValue" />
@code{
int RowId;
private void KeyWasPressed(KeyboardEventArgs e)
{
RowId = 0; // needed to set some variable or anything for the error to appear
}
private void anymethod()
{
RowId = 0;
}
}
When any key is pressed in the input element, this error appears: System.ArgumentException: There is no event handler associated with this event. EventId: '416'.
Parameter name: eventHandlerId
The error only appears using Chrome and including onfocusout event or maybe with others events too.