components icon indicating copy to clipboard operation
components copied to clipboard

Mat-Chip default color always shown

Open DenSchiep opened this issue 9 years ago • 6 comments

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

DenSchiep avatar Oct 23 '17 09:10 DenSchiep

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

amcdnl avatar Oct 23 '17 16:10 amcdnl

Closing as fixed by #7285

josephperrott avatar Nov 09 '17 06:11 josephperrott

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

nayfin avatar Dec 19 '17 23:12 nayfin

@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

wellwind avatar Dec 30 '17 12:12 wellwind

@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.

kamok avatar Feb 24 '18 20:02 kamok

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.