Skip to content

Bug: md-prefix stretches together with input field #2493

Closed
@Parez

Description

@Parez

When I put prefix in a wide md-input-container, the prefix stretches together with it.
Easy to reproduce. Just make the md-input-container wide enough:
<md-input-container class="full-width">
<span md-prefix>#</span>
<input md-input formControlName="tagInput" placeholder="Tags>
</md-input-container>

Have a look at the copyright and hash prefixes here:
screen shot 2017-01-02 at 14 32 54

I believe prefixes should stay the same width not dependent on the parent width.


Another thing (not sure if it was already mentioned) - fields disabled via code .disable() do not display as dotted. Also visible on the screenshot (field to the left of checkbox is actually disabled).

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