Skip to content

md-input-container with md-prefix produces unexpected DOM #5643

Closed
@parker-mike

Description

@parker-mike

Bug,
<md-input-container> <span md-prefix> <md-icon>home</md-icon> </span> <input mdInput name="givenName" readonly disabled> </md-input-container>
gives wrong DOM, div.mat-input-prefix is empty while the span.md-prefix is generated inside div.mat-input-infix
could be seen on the following plnkr:
http://plnkr.co/edit/WRtJEaWx0ilHPBeGLSM5?p=preview
which is regression from beta.6 on 4.1.3:
http://plnkr.co/edit/dGxYTBaObsjDs557jM4k?p=preview

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