ERROR TypeError: Cannot read property 'isEventFrom'
See original GitHub issueBug description:
Hello world. since i update the version of ng boostrap from 1.0.0 to 1.1.2 I have an error in my web console.
Link to minimally-working plunker that reproduces the issue:
I have issue on this piece of code:
<div ngbDropdown class="dropdown" #myDropGlobal="ngbDropdown">
and
<div ngbDropdown class="dropdown">
wich seems good.
Version of Angular, ng-bootstrap, and Bootstrap:
Angular: 5
ng-bootstrap: 1.1.2
Bootstrap: 4.0.0-beta
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (2 by maintainers)
Top Results From Across the Web
ERROR TypeError: Cannot read property 'isEventFrom' of ...
I've build ng-bootstrap modal, which works with problems, but it works at least. but whenever I open the website (doesn't matter which page) ......
Read more >autocomplete - error: Cannot read property 'title' of nul
Dear supporter, We are using autocomplete in our Angular 5 project. Unfortunately, we got the following error. null: ERROR null: TypeError: Cannot read...
Read more >Angular Test - Cannot read property 'textContent' of null
Getting Started with Angular - Angular Test - Karma server TypeError : Cannot read property 'textContent' of nullSpecial offers & Free ...
Read more >ANGULAR 13 TypeError Cannot read property of undefined
In this tutorial, we will see a most common error faced by the Angular developers named as " TypeError Cannot read property of...
Read more >ERROR TypeError: Cannot read properties of undefined ...
You're trying to read the property 'page' of 'this.paginator'. 'this.paginator' doesn't appear to be defined anywhere in your code, and as the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pkozlowski-opensource thanks for the clarification, in our case ngbDropdownToggle was available only after ngbDropdown was created, wrong code snippet bellow
I’ve determined the error appears when applying an *ngIf to the “ngbDropdownToggle” element