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 / Add/Edit Content in Co...
Power Apps
Unanswered

Add/Edit Content in Combo Box

(0) ShareShare
ReportReport
Posted on by 5,345 Moderator

I have a Combo Box in a process that collects information that is viewed in a review screen prior to submit.

When the user 'chooses' an option from the Combo Box and transitions to the review screen the option chosen is shown.

 

If the user types in content that is not an option in the Combo Box list of items, but the user wants to keep that option anyway, when the user transitions to the review screen the manually enter option is not shown.

Is there a way to have a Combo Box the user can also add to manually if the preferred option is not in the Combo Box list of items?

Categories:
  • MichelK Profile Picture
    120 on at

    Hello @Phineas , 

     

    If you goal is to add an item to your ComboBox, it is possible but you should have an editable collection on the Items Property of your ComboBox. For example if the ComboBox contains the following items:

    [{name: "George"}, {name:"Grant"}]

    You need to put them in a collection OnStart of the app for example:

    Collect( colPeople, {name: "George"}, {name:"Grant"} );

    Then you put colPeople on the Items property of the ComboBox.

    And finally when you want to add items to your ComboBox,

    Collect( colPeople, {name: TextInput.Text} ); 

     

    However, if the goal is just to display either the selected value from the ComboBox or the Manual input from the User, you could just place this on the Label on which you're displaying the text:

    If( IsBlank(ComboBox.Selected), TextInput.Text, ComboBox.Selected.name )

     

    Let me know if this helps!

  • Phineas Profile Picture
    5,345 Moderator on at

    The goal of the user is to be able to manually enter an Item into the Combo Box and have the item be able to be uploaded to the data source as if it was an option in the original Combo Box list of items.

    The manually entered items DOES NOT need to be added to the hardcoded list of items in the Combo Box, just saved to the SPList with the specific item.

     

    Example:

    Combo Box list of items is: Blue, Green, White, Brown, Black

     

    User types in 'Orange', not knowing orange is not an option in the Combo Box; however, the user wants to save 'Orange' as the option anyway.

     

    Is this possible? 

  • MichelK Profile Picture
    120 on at

    @Phineas what do you have in the Items property of the ComboBox?

  • Phineas Profile Picture
    5,345 Moderator on at

    The hardcoded options.

     

    Example: ["Blue", "Green", "White", "Brown"]

  • MichelK Profile Picture
    120 on at

    Well actually you need to decide where to store the extra values.

    Either create a SharePoint list containing the initial values, and each time the user adds one you use the Patch() function to add it to the existing ones, either you keep the initial ones hardcoded and add the new ones in a list.
    The first approach makes more sense to me.

    It could be any DataSource not necessarily Sharepoint.

  • AD1990 Profile Picture
    85 on at

    +1 on what @MichelK has written. A new sharepoint list with the values is your best solution. Set the item property of the combo box to the list.

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard