Completed
Last Updated: 01 Jul 2026 14:30 by ADMIN
Chris
Created on: 29 Jun 2026 18:06
Category: Kendo UI for Angular
Type: Bug Report
0
Kendo DatePicker - Errors for Plain Text Sizes

For the Kendo DatePicker, if you try to set the size on a kendo-datepicker with plain text, it will not render and give a console error of "ERROR TypeError: Cannot read properties of undefined (reading 'nativeElement')".

Errors:

// HTML

<kendo-datepicker size="small" ... />

---

But on the other hand, it does work if you create a field of type "DateInputSize" and pass that variable to the size.

Works:

// TS

protected size: DateInputSize = 'small';

// HTML

<kendo-datepicker [size]="size" ... />



4 comments
ADMIN
Hetali
Posted on: 01 Jul 2026 14:30

Hello Chris,

Upon further digging, I found this GitHub Issue where the error was logged. Since this bug is fixed, I will go ahead and mark this bug report as 'Completed'.

Let me know if you have any further questions.

Regards,
Hetali
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.

ADMIN
Hetali
Posted on: 01 Jul 2026 14:13

Hi Chris,

The error got fixed in  the Kendo UI DatePicker v23.1.0 along with the autofill property.

This is the StackBlitz example using the Kendo UI DateInputs package v23.1.0. 

I hope this information helps.

Regards,
Hetali
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.

Chris
Posted on: 01 Jul 2026 13:16
Do you happen to know the earliest version where this got fixed between v22.0.1 and v24.2.0?
ADMIN
Hetali
Posted on: 30 Jun 2026 15:19

Hi Chris,

Upon using the size property in the Kendo UI DatePicker v22.0.1, the error can be reproduced as seen in this StackBlitz example and the screenshot below:

However, this issue cannot be reproduced in the latest version (v24.2.0). Here's a StackBlitz example demonstrating the size property in the latest DatePicker version.

Output:

Please update the DateInputs package to the latest version and let me know if it fixes the issue on your end. Looking forward to hearing from you.

Regards,
Hetali
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.