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 / Conditional color chan...
Power Apps
Unanswered

Conditional color change of selected dropdown value, without also setting the color for the whole list

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I have created a dropdown as a part of a gallery view that changes color based on the value that is selected. However, I don't want the whole list to be in that color when I open the dropdown, only when it is "collapsed". Which propery do I have to change so that all the dropdown items stay white, and not change to the same color as the selected value? See attached screenshots with examples.

Formula in the "Fill" property:
If(
Dropdown6.Selected.Value = "Ikke startet", Color.Red,
Dropdown6.Selected.Value = "Ligger bak", Color.Orange,
Dropdown6.Selected.Value = "I rute", RGBA(144, 238, 144, 1), // Light green
Dropdown6.Selected.Value = "Fullført", Color.DarkGreen,
Color.White // Default color
)

 

Thanks!

PowerApp1.JPG
PowerApp2.JPG
Categories:
  • Rajkumar_M Profile Picture
    3,747 Moderator on at

    Hi @asaetrang 

     

    To change the background color of the dropdown options in PowerApps, you can use the "SelectionFill" property. This property allows you to set the background color of the selected item in the dropdown without affecting the color of the entire list. By using the "SelectionFill" property, you can ensure that only the selected item is displayed in the specified color, while the rest of the dropdown options remain unaffected.

     

    SelectionFill: 

    If( Dropdown1.Selected.Value = "Option 1", Color.Red,
    Dropdown1.Selected.Value = "Option 2", Color.Orange,
    Color.White // Default color
    )

     

    Thanks!

     

    If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard