Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature (expansion-panel) - disabled attribute #6521

Closed
merlosy opened this issue Aug 17, 2017 · 1 comment · Fixed by #6529
Closed

feature (expansion-panel) - disabled attribute #6521

merlosy opened this issue Aug 17, 2017 · 1 comment · Fixed by #6529
Assignees
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix P4 A relatively minor issue that is not relevant to core functions

Comments

@merlosy
Copy link

merlosy commented Aug 17, 2017

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 :)

@jelbourn jelbourn added feature This issue represents a new feature or feature request rather than a bug or bug fix P4 A relatively minor issue that is not relevant to core functions labels Aug 17, 2017
@crisbeto crisbeto self-assigned this Aug 17, 2017
crisbeto added a commit to crisbeto/material2 that referenced this issue Aug 17, 2017
Allows for an expansion panel to be disabled via the `disabled` attribute.

Fixes angular#6521.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix P4 A relatively minor issue that is not relevant to core functions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants