Skip to content

Extends MatTable #12996

Closed
Closed
@ThiagoMarra

Description

@ThiagoMarra

Bug, feature request, or proposal:

Extends MatTable to inject any service;

What is the expected behavior?

--/--

What is the current behavior?

When i do,
export class MyTableComponent<T> extends MatTable<T> { };

I get the error:

Cannot read property 'viewContainer' of undefined

I think, injection is not working properly;

What are the steps to reproduce?

--/--

What is the use-case or motivation for changing an existing behavior?

for control, and to insert some services;

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular Material: 6.4.7;
TypeScript: 3.0.1;
Browser: none effect;

Is there anything else we should know?

--//--.

Metadata

Metadata

Assignees

Labels

needs: clarificationThe issue does not contain enough information for the team to determine if it is a real bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions