Expression has changed after it was checked
See original GitHub issueI’m submitting a … (check one with “x”)
[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here
Current behavior showing
error_handler.js:48 EXCEPTION: Error in ./DataTableBodyRowComponent class DataTableBodyRowComponent - inline template:6:6 caused by: Expression has changed after it was checked. Previous value: ‘true’. Current value: ‘false’.
when I click on row to trigger a modal popup.
Expected behavior should be no error. It was working fine on 0.11.2 until I updated it to latest.
Reproduction of the problem
I am still trying to reproduce the problem.
My case is like this plunker
However, it seems working fine there, but it doesn’t work on my real project.
Any idea what update would cause this issue ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
NG0100: Expression has changed after it was checked - Angular
This error commonly occurs when you've added template expressions or have begun to implement lifecycle hooks like ngAfterViewInit or ngOnChanges . It is...
Read more >Angular Debugging "Expression has changed": Explanation ...
Learn a complete explanation about ExpressionChangedAfterItHasBeenCheckedError: why it occurs, how to troubleshoot it and how to fix it.
Read more >Expression ___ has changed after it was checked
In my case I was opening a modal. After open the modal it was showing the message "Expression ___ has changed after it...
Read more >Expression Has Changed After It Was Checked — Angular ...
Exploring the `ExpressionChangedAfterItHasBeenCheckedError` error you might face while Angular development. · There are two conflicts! · Solution: (Key Point).
Read more >Fixing "Expression has changed after it was checked" in Angular
The exception appears (in the development mode) at the moment the value is checked and value is different of the updated value. Error...
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
@maxisam not sure what the whole story is about but be sure to update to the latest ng-bootstrap as we’ve fixed a couple of issues with lazy loading recently. In the future we are going to drop
<template ngbModalContainer></template>
altogether but we need to wait for Angular 2.3 for this to happen.@maxisam if you believe that there is an issue on the ng-bootstrap side than please isolate it and open an issue in our repo. But we will need a minimal (that is, without data table) repro.