title: Blazor: How to use the onchange event in <select> when using @bind also?
body: <p>I need to be able to run a function after a selection in made in a <code>&lt;select&gt;</code>.  The issue is I'm also binding with @bind and I get a error when I try to use @onchange stating that it is already in use by the @bind.  I tried using @onselectionchange, but that does nothing(doesn't run the function).  I could forget the @bind and just assign @onchange to a function, but I'm not sure how to pass the selected value to the function. </p>
  
  <p>I have the following code:</p>
  
  <pre><code>&lt;select @bind="@SelectedCustID" @ @onchange="@CustChanged" class="form-control"&gt;
      @foreach (KeyGuidPair i in CustList)
      {
          &lt;option value="@i.Value"&gt;@i.Text&lt;/option&gt;
      }
  &lt;/select&gt;
  </code></pre>
  
  <p>Thanks.</p>