Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Why would the onChange event of InputText not fire in Blazor?

$
0
0

I have the following razor markup in a blazor component:

<div class="form-group row"><label for="name">Contact: </label><InputText id="name" @bind-Value="Contact.Name" @onchange="NameChanged"></InputText></div>

When I modify the contact name on the form and tab out of the control the NameChange method is never called. Is there something else that I need to do in order to get the onChange event to trigger?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>