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 / Combobox default selec...
Power Apps
Answered

Combobox default selected items problem

(0) ShareShare
ReportReport
Posted on 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?

Categories:
I have the same question (0)
  • Verified answer
    rubin_boer Profile Picture
    4,841 Super User 2024 Season 1 on at

    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

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard