Skip to content

Add support for [hidden] to md-button #445

@Splaktar

Description

@Splaktar
  • Do you want to request a feature or report a bug?
    feature
  • What is the current behavior?
    [hidden] is ignored in both anchor and button mode.
  • If the current behavior is a bug,
    please provide steps to reproduce and if possible a minimal demo of the problem:

    http://plnkr.co/edit/ZULwBrp3fHLorUSedYrt?p=preview
  • What is the expected behavior?
    Button should be hidden when expression evaluates to true.
  • What is the motivation / use case for changing the behavior?
    Standard feature request.
  • Which version of Angular and Material, and which browser and OS does this issue affect?
    Did this work in previous versions of Angular / Material?
    Please also test with the latest stable and snapshot versions.
    Chrome. "@angular2-material/button": "2.0.0-alpha.4",
  • Workaround
    Custom CSS:
[hidden][md-button] {
  display: none;
}

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