ValueChanged on KeyPressed or KeyUp

I need to update the UI on every key the user is writing. Binding a value or ValueChanged fires on lose focus. Is there a way to have them fire on key-pressed?

I know I can listen to @onkeyup for example, but inside the handler I don''t have the value of the RadzenTextBox, I just have the key the user pressed. Is there an easy way?


Hi @Hardy,

You can try using the @oninput DOM event. It should provide the current value in the event arguments. Here is a forum thread that may help.