cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How to apply a different fill color to ComboBox items

Hello everyone,

 

I have some struggle to accomplish something.

 

Here is the scenario : 

I have a Sharepoint list with a choice column named "Statut" which allow to use "Acceptée", "Refusée" or "Nouvelle"

I have a ComboBox that filter my gallery with this column.

 

What I want to know is, is there a way to apply a different fill color to my items in my ComboBox?

I want "Acceptée" to be colored in green, "Refusée" in red and "Nouvelle" colored in blue.

I tried to use a Switch in the HoverFill properties, but i'm unable to apply the color on a specific item:

 

1.PNG

It works when I select only one item, but when if I use the multiple selection:

 

2.PNG

Is there a way to accomplish that ?

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
JR-BejeweledOne
Super User
Super User

The fill property is for the Combbox, not for the selected items.   You can't apply a text background color to the individually selected items.



If you like this post, give it a Thumbs up. If it answered your question, Mark it as a Solution to enable other users find it.

View solution in original post

2 REPLIES 2
JR-BejeweledOne
Super User
Super User

The fill property is for the Combbox, not for the selected items.   You can't apply a text background color to the individually selected items.



If you like this post, give it a Thumbs up. If it answered your question, Mark it as a Solution to enable other users find it.

View solution in original post

Anonymous
Not applicable

Thanks for your reply.

 

That make sense, I am working on the Widget himself not the items.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,272)