Skip to content

[MdButton] styles get messed up #2059

Closed
@eagle-dan1349

Description

@eagle-dan1349

Bug, feature request, or proposal:

[x] Bug

What is the expected behavior?

MdButton behavior is indifferent to hosting element, be it or

What is the current behavior?

When using 'md-button' on element, it attaches 'disabled' attribute.
Presence of 'disabled' attribute causes disabled state styles to be applied to button (no matter what is attribute's value).
In case of

tag, everything is fine

What are the steps to reproduce?

Create a page with link
Use md-button on it.
See styles broken.

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

Stable and consistent behavior of component.

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

Angular 2.2.4
Material 2.0.0-alpha.10

Metadata

Metadata

Assignees

No one assigned

    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