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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Combo box or dropdown ...
Power Apps
Answered

Combo box or dropdown component - value input property

(0) ShareShare
ReportReport
Posted on by 11
I'm trying to create a few custom components but i'm stuck on creating either a combo box or a dropdown.
 
I've created the input properties so a user can select items, defaults etc.
 
 
However I have an issue where if using it for a table of items, the combo box or a dropdown will only display the "value" column, so if the table/collection being used doesn't have a "value" column, it wont display anything.
 
 
When creating the component, I can't find anyway to create a property for "value", which is what I need so the user can enter their chosen column to display in the dropdown.
 
Does anyone know a workaround for this?
Categories:
I have the same question (0)
  • Suggested answer
    BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at
    Hi @SFRSDL,
     
    Personally I found it quite challenging to work with dynamic schema's for components, so the most effecive workaround may be to work with a static schema and then make sure the passed schema matches it.
     
    A way to do that is using the RenameColumns function to rename the name of the column to display to "value": AddColumns, DropColumns, RenameColumns, and ShowColumns functions - Power Platform | Microsoft Learn
     
     
    If this reply helped you in any way, please give it a Like 💜 and in case it resolved your issue, please mark it as the Verified Answer ✅.
  • Verified answer
    SFRSDL Profile Picture
    11 on at
    I've found out how to fix this if you're using a single column.
     
    say we have  table of 
    ClearCollect(myCollection, {Val: "red", ID: 1}, {Val: "green", ID: 2}, {Val: "blue", ID: 3} )
     
    Usually this would not work since we dont have a "Value" column, but for the Items of the component you can use the following:
     
    ForAll(myCollection,*the column you want to display*)
     
    e.g
    ForAll(myCollection,ID)
    ForAll(myCollection,Val)
     
    This will allow the display of any column in the collection.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard