Skip to content

bug: md-button doesn't respect containing fieldset's disabled state #3033

@timruffles

Description

@timruffles

Bug, feature request, or proposal:

md-buttons should work like standard HTML buttons inside <fieldsets>: when the fieldset is disabled, so are buttons within it.

What is the expected behavior?

Inside a <fieldset disabled>, the md-button family does not display or act as disabled

What is the current behavior?

I've contrasted a standard HTML button on the left to the Material on on the right. They're contained within a <fieldset disabled> - as per markup below.

screen shot 2017-02-10 at 11 47 08

Material button is not disabled: standard look, clickable, changes mouse to pointer etc. Standard button is disabled.

What are the steps to reproduce?

<fieldset
  [disabled]="canDoThing"
  >
  <button>I am a standard button</button>

  <button md-raised-button>I'm a wonderful MaterialUI button</button>

Metadata

Metadata

Assignees

No one assigned

    Labels

    P5The team acknowledges the request but does not plan to address it, it remains open for discussionarea: material/buttonfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions