title: Blazor binding value to "input date" in one-way
body: <p>Since Blazor doesn't support stopping event propagation I need one-way binding for an input element with <code>type="date"</code> and with an <code>onchange</code> event handler. </p>
  
  <p>Something like this:</p>
  
  <pre><code>&lt;input type="date" value="@_endDate" format-value="yyyy-MM-dd" onchange="@EndDate_change"/&gt;
  </code></pre>
  
  <p>But this doesn't work. The page contains datePicker but without any value.</p>
  
  <p>"_endDate" is of type DateTime.</p>
  
  <p>If I use Two-way binding then everything working fine.</p>
  
  <pre><code>&lt;input type="date" bind="@_endDate" format-value="yyyy-MM-dd"/&gt;
  </code></pre>
  
  <p>Any idea why the first "input" doesn't work? Is there any mistake or is this a bug in blazor?
  For plain text one-way binding with onchange event works without problems.</p>
  
  <p>Edit1:
  _endDate contains the current date and is set as DateTime.Now</p>
  
  <pre><code>protected void EndDate_change(UIChangeEventArgs endDateEvent)
  {
      _endDate = Convert.ToDateTime(endDateEvent.Value);
      StateHasChanged();
  }
  </code></pre>