When i try to style my md-chips with the color attribute nothing happens. According to the guide https://material.angular.io/components/component/chips this has to work. All my other elements style without problems.
<md-chip-list>
<md-chip color="primary"> Chicken </md-chip>
<md-chip color="warn"> Table </md-chip>
<md-chip color="accent"> Tree </md-chip>
<md-chip> Eight </md-chip>
</md-chip-list>
Result:
Does anybody know how to fix this?
Thanks in advance!
According to the plunkr example, the chips are only colored when the selected
attribute is set to true
:
<md-chip color="accent" selected="true">Chicken</md-chip>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With