Data- attribute for DateTimePicker component type?

1 Answer 29 Views
Date/Time Pickers
Andy
Top achievements
Rank 1
Veteran
Andy asked on 14 Aug 2021, 02:52 PM

Hi,

I'm using the data- attribute setup for a date time picker, and I can't seem to get component type (I'm looking for modern) to work. Might anybody know the correct attribute name?

 


<input name="start" required="required" style="z-index: inherit;" type="datetime"
                               data-bind="value:start,invisible:isAllDay"
                               data-format="M/d/yyyy h:mm tt"
                               data-component-type="modern"
                               data-role="datetimepicker" />

1 Answer, 1 is accepted

Sort by
0
Georgi Denchev
Telerik team
answered on 18 Aug 2021, 11:00 AM

Hello, Andy,

Thank you for the provided code snippet!

This is indeed the correct attribute, could you verify that you are using v2020.3.915(Kendo UI R3 2020) or newer? There is a bugfix in this version, which concerns exactly this issue.

Dojo:

https://dojo.telerik.com/@gdenchev/AsiSUKEY 

Best Regards,
Georgi Denchev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Date/Time Pickers
Asked by
Andy
Top achievements
Rank 1
Veteran
Answers by
Georgi Denchev
Telerik team
Share this question
or