You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In chipConfig, I can change the background color of all chips easily.
However, I would like to have a different background color for each chip according to its value. My usecase is that each chip represents a document state (In Progress, Closed, Billed, etc.) and that each state is represented by a color.
Would it be possible to allow configuring a chip according to its binded value?
Thanks!
Mathieu
The text was updated successfully, but these errors were encountered:
You can do that using selectedItemBuilder property to conditionally style item. However you have to manage remove selected chip yourself using controller. Example : Assuming you are using v2 of the API. @mathlizee
Hello!
In
chipConfig
, I can change the background color of all chips easily.However, I would like to have a different background color for each chip according to its value. My usecase is that each chip represents a document state (In Progress, Closed, Billed, etc.) and that each state is represented by a color.
Would it be possible to allow configuring a chip according to its binded value?
Thanks!
Mathieu
The text was updated successfully, but these errors were encountered: