title: How to get two way databindings working in blazor?
body: <p>I have got the following component which resembles a <code>TextBox</code> component. However for some reason the content of <code>Value</code> never seems to change.</p>
  <p>I would have expected this to work with Data binding without manual JavaScript, no?</p>
  <pre><code>
  &lt;div class=&quot;form-group&quot;&gt;
      &lt;input type=&quot;text&quot; class=&quot;form-control&quot; @bind=&quot;Value&quot; @onkeyup=&quot;OnKeyUp&quot; placeholder=&quot;@Placeholder&quot;/&gt;
  &lt;/div&gt;
  
  @code {
      
      [Parameter]
      public string Value { get; set; }
  
      [Parameter]
      public EventCallback&lt;string&gt; ValueChanged { get; set; }
  
      [Parameter]
      public string Placeholder { get; set; }
  
      private void OnKeyUp(KeyboardEventArgs obj)
      {
          ValueChanged.InvokeAsync(Value);
      }
  
  }
  </code></pre>