So I am building a Blazor component where I want to type into an input and fire an AJAX request to get filtered data from the server. I tried this
<input type="text" @bind="NameFilter" @onchange="FilterChangedAsync" />However this results in an error
The attribute 'onchange' is used two or more times for this element. Attributes must be unique (case-insensitive). The attribute 'onchange' is used by the '@bind' directive attribute.
I thought about calling the method in the NameFilter property setter but in this case I can't await it. What is the proper way to achieve the desired behavior?