-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Description
Bug, feature request, or proposal:
This is a bug.
What is the expected behavior?
The two md-paginators to act separately from each other, and not return undefined when two or more are used on the same page.
What is the current behavior?
When I have 2 tables with pagination, the component says the md-paginator is undefined. When I comment out the second md-paginator everything works as expected.
What are the steps to reproduce?
Add 2 tables with pagination to one component.
What is the use-case or motivation for changing an existing behavior?
To allow a component to have multiple tables with pagination
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.3.6
Material 2.0.0-beta.10
OS Windows 10
Typescript 2.3.3
Is there anything else we should know?
I have tried assigning each md-paginator with different elementRefs and initializing the MdPaginator with each elementRef.
Metadata
Metadata
Assignees
Labels
No labels