This is a migrated thread and some comments may be shown as answers.

kendo-datetimepicker not found in DateInputsModule

1 Answer 2215 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Murray
Top achievements
Rank 1
Iron
Veteran
Murray asked on 21 Jan 2020, 04:50 PM

I am trying to use the <kendo-datetimepicker> component and I import DateInputsModule into my module, but on loading my app I see the following error:

 

'kendo-datetimepicker' is not a known element:
1. If 'kendo-datetimepicker' is an Angular component, then verify that it is part of this module.
2. If 'kendo-datetimepicker' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message

 

Obviously I have npm installed the @progress/kendo-angular-dateinputs package and dependencies. I am using:

    "@progress/kendo-angular-dateinputs": "^3.7.4"

 

I am able to use the <kendo-datepicker> without problem. 

 

Why am I seeing this error? 

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 22 Jan 2020, 02:48 PM

Hi Murray,

The DateTimePicker component was first introduced in version 4.1.0 of the DateInputs package:

https://www.telerik.com/kendo-angular-ui/components/dateinputs/changelog/

Upgrading to the latest versions of all of our packages and their dependencies should resolve the issue:

https://www.telerik.com/kendo-angular-ui/components/installation/up-to-date/#toc-updating-to-latest-versions

It is also worth mentioning that since version 4.0.0 of the package, the support for Angular 4 and 5 was dropped as their official LTS had come to an end, so if any of these Angular versions are used, the Angular packages should be upgraded to a supported version (7 or 8) too.

Regards,
Dimiter Topalov
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
DateTimePicker
Asked by
Murray
Top achievements
Rank 1
Iron
Veteran
Answers by
Dimiter Topalov
Telerik team
Share this question
or