title: ASP.Net Core MVC date input value
body: <p>I created a edit view for a EF Model and have a problem with the datepicker.
  Whenever i try to edit a `dataset, the edit view don't show me the old date values.</p>
  
  <p>This is my Edit.cshtml Code:</p>
  
  <pre><code>&lt;div class="form-group"&gt;
      &lt;label asp-for="BestellungsDatum" class="control-label"&gt;&lt;/label&gt;
      &lt;input asp-for="BestellungsDatum" type="date" class="form- control" value="@Model.BestellungsDatum" /&gt; 
      &lt;span asp-validation-for="BestellungsDatum" class="text-danger"&gt;&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This is what it looks like, but there have to be the old value at this position:</p>
  
  <p><a href="https://i.stack.imgur.com/gaUz3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gaUz3.png" alt="enter image description here"></a></p>
  
  <p>When i change the input to type="text", the value is shown but there is no datepicker.. Any solutions on this?</p>
  
  <p><a href="https://i.stack.imgur.com/UduoH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/UduoH.png" alt="enter image description here"></a></p>