Closed
Description
Hi,
After upgrading to Angular 2 RC 5 and Material 2 Alpha 5, the components using tabs through the below errors on browser console (though there aren't any compilation errors when compiling in VS 2015):
"Template parse errors:
Can't bind to 'portalHost' since it isn't a known property of 'template'. ("ex == i" [class.md-active]="selectedIndex == i" (click)="focusIndex = selectedIndex = i"> <template [ERROR ->][portalHost]="tab.label"></template> </div> <md-ink-bar></md-ink-bar> </div> <div class="md-tab-body-"): MdTabGroup@0:418
Property binding portalHost not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "directives" section. ("electedIndex == i" [class.md-active]="selectedIndex == i" (click)="focusIndex = selectedIndex = i"> [ERROR ->]<template [portalHost]="tab.label"></template> </div> <md-ink-bar></md-ink-bar> </div> <div class="md"): MdTabGroup@0:408
Can't bind to 'portalHost' since it isn't a known property of 'template'. (" == i" [attr.aria-labelledby]="_getTabLabelId(i)"> <template [ngIf]="selectedIndex == i"> <template [ERROR ->][portalHost]="tab.content"></template> </template> </div> </div> "): MdTabGroup@0:770
Property binding portalHost not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "directives" section. ("ectedIndex == i" [attr.aria-labelledby]="_getTabLabelId(i)"> <template [ngIf]="selectedIndex == i"> [ERROR ->]<template [portalHost]="tab.content"></template> </template> </div> </div> "): MdTabGroup@0:760"
Metadata
Metadata
Assignees
Labels
No labels