You have to bind the oninput event with an input element to fire an event for each and every character input.
<input type="text" @oninput="@InputChange" />
Home / FAQ / Blazor / Forms and validation / How do I fire an event for every character input into a text box in Blazor?
You have to bind the oninput event with an input element to fire an event for each and every character input.
<input type="text" @oninput="@InputChange" />
Share with