-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Description
Bug, feature request, or proposal:
mat-table is correct, not sure what is the wrong with the example code
What is the expected behavior?
What is the current behavior?
zone.js:690 Unhandled Promise rejection: Template parse errors:
Can't bind to 'dataSource' since it isn't a known property of 'mat-table'.
-
If 'mat-table' is an Angular component and it has 'dataSource' input, then verify that it is part of this module.
-
If 'mat-table' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
-
To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
<mat-table #table [ERROR ->][dataSource]="dataSource">
Metadata
Metadata
Assignees
Labels
No labels