md-tab not work using *ngFor
Bug, feature request, or proposal:
here sample on plunker, you can see that secon tab group is not showed, and I used ngFor https://plnkr.co/edit/ScYwmDUCfnuviJU9xm6X?p=preview
It's not a material2 problem.
Working demo: https://plnkr.co/edit/8sf5JVoCVtKf5fsNeIDz?p=preview
export class AppComponent {
/* private, public or 'nothing' */ tabs:string[]=["tab1", "tab2"];
}
As @mxii mentioned, this isn't a Material issue. It doesn't work, because you have a var before the property declaration.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.