Bug
Using @ViewChild(MatSort) get the Directive from inside a Stepper
Returns Undefined
http://plnkr.co/edit/mLbnnpLG5bDumD2jBYZt?p=info
Select from list to advance to next step
You must import MatSortModule.
@DevVersion could you add it and MatPaginatorModule to the default template's PlunkerMaterialModule?
@DevVersion can you take a look if this is just updating the plunker setup?
@willshowell @jelbourn Updated the Plunker template. And yeah this issue seems to be fixed by adding the necessary modules.
I have the same issue. Tried to import all modules, but still doesn't work. Could it be related to something else?
UPDATE: I found the problem. It is undefined because of *ngIf directive on the tag above mat-table (even if it evaluates to true).
I have the same issue. Tried to import all modules, but still doesn't work. Could it be related to something else?
UPDATE: I found the problem. It is
undefinedbecause of*ngIfdirective on the tag above mat-table (even if it evaluates to true).
Good find! Removing *ngIf fixed the issue. This is a bug and should be re-opened.
UPDATE: ng-if instead of *ngIf works
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._
Most helpful comment
I have the same issue. Tried to import all modules, but still doesn't work. Could it be related to something else?
UPDATE: I found the problem. It is
undefinedbecause of*ngIfdirective on the tag above mat-table (even if it evaluates to true).