web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dropdown box fill colo...
Power Apps
Answered

Dropdown box fill colour inheritance

(0) ShareShare
ReportReport
Posted on by 5

Hi. I have a dropdown box. This is using "switch" to use different colour fill, depending on what item is selected.

 

But when you then want to change said item, the whole selection part of the dropdown has now inherited the fill colour of that item. Can you change this so that it will still use the fill colour assigned to that item, but when you select it to change, the actual selection box has it's own colour?

 

This is my current code in "Fill"

 

Switch(
dd_user_level.Selected.Title,
"None", RGBA(226, 239, 240, 1),
"Interested", RGBA(226, 239, 240, 1),
"Basic", RGBA(248, 147, 29, 1),
"Intermediate", RGBA(0,97,166,1),
"Advanced",RGBA(6, 120, 61, 1)

)

BabyD85_0-1694719282543.png

Intermediate is blue, and now all items in the selection area are the same colour, until selected. I want this area to be a different colour, like white

Categories:
I have the same question (0)
  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @BabyD85 The Fill property controls the entire Color of the Dropdown. There is no separate Fill property for the selected area and the actual drop down. To achieve what you want to, you can place a Label above the Dropdown to cover the Selection area and set the Fill color of the Label to the desired color and the Text property to yourDropDown.Selected

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

  • BabyD85 Profile Picture
    5 on at

    Thank you for the information. 😊

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard