5 Answers, 1 is accepted
Hi Marco,
Thank you for reporting this.
I've tried to reproduce the problem in this dojo but I was not able to at first glance.
Could you please give more details about how to reproduce it? Do you initialize the date at some point?
Kind Regards,
Denitsa
Progress Telerik
Hi Denitsa,
Your example works fine. I'm using a custom template for the editor of the scheduler control. I'm binding the DatePicker to the value of event.myDate on the view model via the name attribute:
<
tr
>
<
td
style
=
"text-align:right;"
><
label
>My Date</
label
></
td
>
<
td
><
input
name
=
"event.myDate"
data-role
=
"datepicker"
id
=
"editEventATermeDatum"
/></
td
>
</
tr
>
Kind Regards,
Marco
Hi Marco,
Scheduler control is using today's date as default date, if no current date is configured.
If you have observed different behaviour in previos Kendo UI version, could tell us which one?
Would you send us a runnable project where the behavior is replicated? This will enable us to better examine the issue and look for its cause.
Kind regards,
Denitsa
Progress Telerik
Hi Denitsa,
I believe that version kendoui.for.jquery.2019.2.514.commercial didn't had this side effect. I already fixed this is issue by resetting the DatePicker to null.
Thread can be closed.
Kind Regards,
Marco