Skip to content

feature (expansion-panel) - disabled attribute #6521

@merlosy

Description

@merlosy

Bug, feature request, or proposal:

feature request

What is the expected behavior?

When the disabled property is set to true, the panel header shouldn't be clickable, and shouldn't trigger any animation.

What is the current behavior?

The property doesn't exist

What are the steps to reproduce?

See on Demo
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/Ajim0yGuIFhcsnB8333O

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

I am iterating over a list of items (objects)
I have a case where the item has no details and the user should not be able to open it as there is no content to display

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

all

Is there anything else we should know?

thanks for the hard work on this repo :)

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functionsfeatureThis 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