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

Community site session details

Session Id : vJ1V6fv1xySvnMbnCcmWFN
Power Apps - Building Power Apps
Answered

Combobox default selected items problem

Like (0) ShareShare
ReportReport
Posted on 21 Jun 2022 19:35:44 by 62

Hey there!

I'm having a huge issue on making this:
Example- I have a combobox at property "items":

Merida_1-1655839839595.png

And default item should be dynamic and bring more than one result, like: "option2","option3"
2 problems trying to make this, first one is: i can't set defaultselecteditems to any of this, it seems like the field don't bring my 3 options and only what you insert into "defaultselecteditems"

and the other, if i have something by default, typing a code like "combobox.selected.result" it brings me null string every time, any guess of what's wrong at this?

  • Verified answer
    rubin_boer Profile Picture
    4,841 Super User 2024 Season 1 on 21 Jun 2022 at 19:59:42
    Re: Combobox default selected items problem

    hi @Merida 

     

    Please try the following:

    having  a table as listed will have a Value column

    rubin_boer_0-1655841150088.png

    Have its default set to a table variable you wish to be defaulted items

    When setting defautselecteditems it must be a table [a,b,c,...]

    e.g. Set(_default,["Option1", "Option3"])

    Set the DefaultSelecedItems to this variable (the variable must have value sin the Value column)

    rubin_boer_2-1655841387484.png

     

    add a label and the code Text = yourCombobox.Selected.Value this will return the selected last item

    rubin_boer_3-1655841512340.png

     

    Hope it helps,

    r

     

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete