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

Error: Cannot read property 'nativeElement' of undefined

1 Answer 2063 Views
SplitButton
This is a migrated thread and some comments may be shown as answers.
Levon
Top achievements
Rank 1
Levon asked on 10 Apr 2020, 08:46 PM

There are error at console with this message "ERROR TypeError: Cannot read property 'nativeElement' of undefined"

you can see it at this link
https://stackblitz.com/edit/angular-k4mfsv?file=src%2Fapp%2Fapp.module.ts

 

Angular 9

kendo modules installed 
    "@progress/kendo-angular-buttons": "^5.4.0",
    "@progress/kendo-angular-common": "^1.2.2",
    "@progress/kendo-angular-dateinputs": "^4.2.2",
    "@progress/kendo-angular-dialog": "^4.1.3",
    "@progress/kendo-angular-dropdowns": "^4.2.6",
    "@progress/kendo-angular-excel-export": "^3.1.3",
    "@progress/kendo-angular-grid": "^4.7.0",
    "@progress/kendo-angular-inputs": "^6.5.0",
    "@progress/kendo-angular-intl": "^2.0.1",
    "@progress/kendo-angular-l10n": "^2.0.1",
    "@progress/kendo-angular-layout": "^4.2.3",
    "@progress/kendo-angular-pdf-export": "^2.0.3",
    "@progress/kendo-angular-popup": "^3.0.5",
    "@progress/kendo-angular-treeview": "^4.1.2",
    "@progress/kendo-data-query": "^1.5.3",
    "@progress/kendo-drawing": "^1.6.0",
    "@progress/kendo-theme-default": "^4.14.0",

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 14 Apr 2020, 10:09 AM

Hi Levon,

Thank you for the provided feedback.

Yes, this is a known issue that is fixed in version 5.4.1 of the Buttons package:

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

Please update the package to the latest version and give it a try. I am attaching an Angular 9 app that uses the mentioned version. Install the dependencies with npm install command and run the application by using ng serve command.

Regards,
Martin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
SplitButton
Asked by
Levon
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or