Skip to content

md-tab error when using async pipe #574

@aminebizid

Description

@aminebizid

Bug:

What is the expected behavior?

No console error

What is the current behavior?

zone.js:260 Uncaught TypeError: Cannot read property 'elementRef' of undefined

What are the steps to reproduce?

`
ngOnInit() {
this.weeks = this.inicidentReportService.getIncidentReports();
}

getIncidentReports() {
return this.http.get(
WebAPI.url() + '/api/incidentReport')
.map(request => request.json());
}

`

md-tab *ngFor="let w of weeks | async"

Metadata

Metadata

Labels

P2The issue is important to a large percentage of users, with a workaround

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions