Handling KeyDown event with RadzenNumeric v 5

We are upgrading an application using Radzen 4.x to Radzen 5.x.

I can seem to get the onkeydown event to fire. This worked in past:

<RadzenNumeric ShowUpDown="false" TValue="int?" Format="c0" size="10" @bind-Value="StructuresValue" @onkeydown="@ProcessKey" Name="structurescurrentbase" Change=@updateTotalValue />

Does the new version of the component intercept the key stroke events? Any way I can capture the up and down keys and Enter key?

Thanks!

Yes, the component handles internally key press to provide keyboard support - you can check the source code for reference.

I'm afraid that we are not aware of such way.

Thanks Enchev.

As a workaround, I found that I am able to capture keystrokes using @onkeyup instead @onkeydown.