It is the first time I am attempting to use the DatePicker, so excuse me in advance if I am just missing something basic, but here is the scenario.
I am using a basic datePicker with a min and max value: (by the way, if I remove the min and max, i have the same problem)
var periodDays = modelFromServer.DaysInPeriod.length;
$("#dayPicker").kendoDatePicker({
min: new Date(modelFromServer.DaysInPeriod[0].Date),
max: new Date(modelFromServer.DaysInPeriod[periodDays - 1].Date)
});
When I select a day in the calendar, I would expect that day to show up in text next to the picker, but I have not been able to get it to show up there. How do you set the displayed date? See attached image for the picker.
If I break and look at the value of $("#dayPicker").data("kendoDatePicker").value() i get the proper date that I selected. It just won't fill in the text field next to the calendar icon.
Any idea what I am doing wrong?
I am using a basic datePicker with a min and max value: (by the way, if I remove the min and max, i have the same problem)
var periodDays = modelFromServer.DaysInPeriod.length;
$("#dayPicker").kendoDatePicker({
min: new Date(modelFromServer.DaysInPeriod[0].Date),
max: new Date(modelFromServer.DaysInPeriod[periodDays - 1].Date)
});
When I select a day in the calendar, I would expect that day to show up in text next to the picker, but I have not been able to get it to show up there. How do you set the displayed date? See attached image for the picker.
If I break and look at the value of $("#dayPicker").data("kendoDatePicker").value() i get the proper date that I selected. It just won't fill in the text field next to the calendar icon.
Any idea what I am doing wrong?