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

Mat-Chip default color always shown #7971

Closed
DenSchiep opened this issue Oct 23, 2017 · 6 comments
Closed

Mat-Chip default color always shown #7971

DenSchiep opened this issue Oct 23, 2017 · 6 comments

Comments

@DenSchiep
Copy link

The color property of a chip component seems to stay default.

When the color property is set primary, accent or warn, the color won't change on version 2.0.0-beta.12 .
plunk-LSgU9X5sYVhx4bc3LBWm (1).zip

@amcdnl
Copy link
Contributor

amcdnl commented Oct 23, 2017

@DenSchiep - In the future a link to the live plunker would be preferred.

@josephperrott
Copy link
Member

Closing as fixed by #7285

@nayfin
Copy link
Contributor

nayfin commented Dec 19, 2017

I'm experiencing the same behavior if I don't set selected to true. Is this the expected behavior?

@wellwind
Copy link

@nayfin According to the Theme section of document, the color means the selected color, so it must be set selected="true"

https://material.angular.io/components/chips/overview#theming

@kamok
Copy link

kamok commented Feb 24, 2018

@wellwind If selected means selected="true", and clicking on it does not trigger selected, then this is indeed fixed. Kinda weird that you don't have a selected color and a base color. Guess yall want us to do css for that. Needs to be in docs.

@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 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants