title: Blazor onchange event with select dropdown
body: <p><em><strong>Note</strong>: this question was asked about a pre-release of Blazor (0.2.1).</em></p>
  <p>So I have been stuck trying to get a simple onchange to fire when a select dropdown value changes. Like so:</p>
  <pre><code>&lt;select class=&quot;form-control d-flex&quot; onchange=&quot;(dostuff())&quot;&gt;
      @foreach (var template in templatestate.templates)
      {
          &lt;option value=@template.Name&gt;@template.Name&lt;/option&gt;
      }
  &lt;/select&gt;
  
                 
  </code></pre>
  <p>with the method being called:</p>
  <pre><code>void dostuff()
  {
     Console.WriteLine(&quot;first spot is firing&quot;);
      _template = templatestate.templates.FirstOrDefault(x =&gt; x.Name == 
      _template.Name);
      Console.WriteLine(&quot;second spot is firing&quot;);
  }
  </code></pre>
  <p>The result I get it no matter how I try to reorient it is this error in the browser.</p>
  <pre><code>Uncaught Error: System.ArgumentException: There is no event handler with ID 0
  </code></pre>
  <p>Is there something obvious and key that I am missing? Because I have a button <code>onclick</code> event that works just fine on the same page.</p>