You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.
when adding [formControl]="ngControl.control" to the ng-select2 component and the data is returned by
this.structureService.getAvailableStructures().subscribe(response => {
this.structures = response;
});
An error ExpressionChangedAfterItHasBeenCheckedError is thrown
The text was updated successfully, but these errors were encountered:
I am using ng-select2 inside a helper controller
export class DropdownInputComponent implements ControlValueAccessor, OnInit {
@input() data: Array;
.
.
.
constructor(@self() public ngControl: NgControl, private elementRef: ElementRef) {
this.ngControl.valueAccessor = this;
}
.
.
.
}
when adding [formControl]="ngControl.control" to the ng-select2 component and the data is returned by
this.structureService.getAvailableStructures().subscribe(response => {
this.structures = response;
});
An error ExpressionChangedAfterItHasBeenCheckedError is thrown
The text was updated successfully, but these errors were encountered: