Skip to content

MdInput doesn't set disabled styles appropriately when disabled in reactive forms #2558

@kara

Description

@kara

Example:

<md-input-container>
   <input mdInput [formControl]="ctrl">
   <button (click)="ctrl.disable()">DISABLE</button>
</md-input-container>

When the button is clicked and the control is disabled programmatically, the disabled underline styles won't appear. This appears to be because it's only looking for the disabled property binding on the input.

Working on fixing this.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions