After updating Chrome to its last version 56.0.2924.76 (64-bit), our Kendo datepickers started not to work properly.
All datepickers were binded using ViewModels, and now they don't show their values. If we inspect them we see the value is set, but it's not been shown.
For example:
@(Html.Kendo().DatePicker()
.Name("DateFrom")
.Start(CalendarView.Month)
.Depth(CalendarView.Month)
.Format("MM/dd/yyyy")
.HtmlAttributes(new { @id = "ClosingStartDate", @placeholder = "enter date from", @class = "masked-date" }))
If I inspect this element with Chrome's Developer tool I have this result:
<input class="k-input masked-date" id="ClosingStartDate" name="DateFrom" placeholder="enter date from" type="text" value="12/21/2016" data-role="datepicker" readonly="" disabled="disabled" maxlength="20" style="width: 100%;">
When we bind property value with KnockOut all datepickers work fine.
Our Kendo version is: Kendo UI Complete v2012.2.913
Is there another way to bind it? What we should change using Chrome v.56?
I able to fix this by adding a format to DatePicker(), try this
I just add attribute
type="text"
based on the suggestion in kendo UI forum and it works for me.Here's a link: http://www.telerik.com/forums/date-field-not-rendering-correct-in-browsers-that-support-html-5