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 / Fill Text Box from Com...
Power Apps
Answered

Fill Text Box from Combo Box (default not showing)

(0) ShareShare
ReportReport
Posted on by 58

I have a combo box where multiple items can be selected and a text box where the selected values show. 

I have set the default value of the combo box to "Client" with the formula:

DefaultSelectedItems = Table({Value:"Client"})

To get the selected items from the combo box I have used the formula:

Default = Concat(ComboBox3.SelectedItems, Result, ", ")

This shows all selected items, except the initial default of "Client". I assume because it's not a result, but a default I have input.

How can I get it to show this as well, if it is selected?

I'm sure I could work it out given some time, but I've been learning my way around Power Apps all day and I'm a bit burnt out.

Categories:
I have the same question (0)
  • TheRobRush Profile Picture
    11,128 Moderator on at

    I made a combo box with the items set to

    ["Client", "Client 2", "Client 3", "Client 4"]

    and default selected item set to

    {Value:"Client"}

    and a label with the text value of

    Concat(ComboBox.SelectedItems,Value, ", ")

     

    which results in including the default item if left selected. Perhaps you have not included the default item in the items, as well as the default slot?

     

    Capture1combo.PNGCapture2combo.PNG

  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @RABronn Set the DefaultSelectedItems property to,

    Table({Result:"Client"})

     

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

  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @RABronn 

    Your DefaultSelectedItems is not selecting!

    Without guessing...this is highly dependent on your Items property of the combobox....what is the Items property?

     

  • RABronn Profile Picture
    58 on at

    Thank you, this was the first option I tried and it worked like a charm because my default pulls the results, not values. I'll remember for next time!

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 765 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 272

Last 30 days Overall leaderboard