Placeholder - ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked.
See original GitHub issueIn this beta.6, I have the following bug:
It does not work:
<ng-select [(ngModel)]="id" [options]="items" [placeholder]="'shared.input.select' | translate" [notFoundMsg]="'shared.input.selectNotFound' | translate" [multiple]="true"></ng-select>
Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. in SelectComponent.ngfactory.js:135:27
If I remove the placeholder, it starts working.
<ng-select [(ngModel)]="id" [options]="items" [notFoundMsg]="'shared.input.selectNotFound' | translate" [multiple]="true"></ng-select>
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:10 (1 by maintainers)
Top Results From Across the Web
ExpressionChangedAfterItHasBe...
I was having trouble with . ERROR: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value ...
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 >NG0100: Expression has changed after it was checked - Angular
Angular throws an ExpressionChangedAfterItHasBeenCheckedError when an expression value has been changed after change detection has completed.
Read more >Expression has changed after it was checked. Previous value ...
I have angular reactive form in parent component and sections inside childrens component. Inside the child component I have a checkbox – when...
Read more >autoFocusedElement + Floating Label = Error - Telerik
ExpressionChangedAfterItHasBeenCheckedError : Expression has changed after it was checked. Previous value: 'k-state-focused: false'.
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 Free
Top 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
This bug existed before, was fixed in beta 5 and was reintroduced in beta 6. The problem is the call to updateState in ngAfterViewInit. See my comment to issue 143.
I am facing the same issue in
beta.6