Skip to content

MD-TAB does not support [disabled] property #880

@sinisarudan

Description

@sinisarudan

Bug, feature request, or proposal:

MD-TAB does not support [disabled] property
https://github.com/angular/material2/tree/master/src/components/tabs

What is the expected behavior?

for the code

<md-tab-group>
    <md-tab [disabled]="true"></md-tab>
    <md-tab></md-tab>
</md-tab-group>

the first tab should be disabled

What is the current behavior?

both tabs are enabled, operational

What are the steps to reproduce?

create a code like this:

<md-tab-group>
    <md-tab [disabled]="true"></md-tab>
    <md-tab></md-tab>
</md-tab-group>

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

in Angular Material 1 it is functional:
https://material.angularjs.org/latest/demo/tabs

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

Is there anything else we should know?

Metadata

Metadata

Labels

featureThis issue represents a new feature or feature request rather than a bug or bug fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions