Date field does not display the value in Chrome browser Date field does not display the value in Chrome browser google-chrome google-chrome

Date field does not display the value in Chrome browser


When you use the new <input type="date" ... in HTML5, you need to pass the value in ISO format, which is yyyy-MM-dd. So change your markup to:

<input id="date2" type="date" class="required" value="@Model.Date.ToString("yyyy-MM-dd")"  maxlength="10" />