title: Change variable value on input key press on Blazor
body: <p>What I want to do is update the variable value when the user press a key, but it only update the value on blur of the input.</p>
  
  <p>The following code is not working.</p>
  
  <pre><code>&lt;p&gt;@increment&lt;/p&gt;
  &lt;input 
      type="text"
      @onchange="@((ChangeEventArgs e) =&gt;
          increment = e.Value.ToString())"
  /&gt;
  
  @code {
      string increment;
  }
  </code></pre>
  
  <p>Using <code>@bind</code> and <code>@bind-value</code> also doesn't work.</p>
  
  <p>I made a <a href="https://blazorfiddle.com/s/0f4m8y06" rel="noreferrer">blazorfiddle</a> with the example.</p>
  
  <p>Who can I make the value of my variable to change when the a key is pressed? </p>