Skip to main content

Notifications

Community site session details

Community site session details

Session Id : qcrHHiWRbViRHkQp/9WEJE
Power Apps - Power Apps Experimental Features
Suggested answer

Change color of combo box item depending on condition

Like (0) ShareShare
ReportReport
Posted on 26 Sep 2024 15:32:35 by 45
I have a combo box with time schedules in my canvas app. Let's call it TimeBox.
 
This time box shows availability of a room according to a sharepoint list called Room_1 where it has 2 columns, DateSchedule and TimeSchedule respectively.
 
I want to disable or change the color of the times already booked for that room. For example:
 
DateSchedule TimeSchedule
9/12/2024 12:00 PM
9/12/2024 2:00 PM
9/13/2024 12:30 PM
 
The desired outcome:
 
  • Suggested answer
    Pstork1 Profile Picture
    65,681 Most Valuable Professional on 26 Sep 2024 at 15:45:10
    Change color of combo box item depending on condition
    I don't think there is a way to do conditional formatting to the entries INSIDE the Combobox control.  However, If you use a collection to populate the Combobox entries you could remove already used entries from the list so they aren't available to choose.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,681 Most Valuable Professional

Leaderboard

Featured topics

Loading started
Loading complete