I'm using Kendo 2015.1.429 with asp.net mvc, bootstrap.
In the cshtml file: @Html.EditorFor(model => model.shipmentDate)
It shows blank(see attached) value in Chrome v56 and up, this is working fine in IE10, 11.
Here's the ViewModel:
[Display(Name = "Shipment Date")]
[Required(ErrorMessage = "Please select a shipment date")]
[DataType(DataType.Date)]
[DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)]
public DateTime shipmentDate { get; set; }
Also, I inspect this element with Chrome's Developer tool and I have this:
<input data-val="true" data-val-date="The field Date must be a date." data-val-required="Please select a date" id="date" name="date" type="date" value="07/13/17" />
<script>
jQuery(function(){jQuery("#date").kendoDatePicker({"format":"MM/dd/yy","min":new Date(1900,0,1,0,0,0,0),"max":new Date(2099,11,31,0,0,0,0)});});
</script>
The value is passed from the Controller as you can see, but date does not display. Is this a known issue?
How do I fix this annoying issue?