Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

DefaultselectedItem Combox shows only the default item and not the entire dropdown on loading

(1) ShareShare
ReportReport
Posted on by 28

I have a combo box which allows multiple selection and the values are derived from a SharePoint list. Based on the logged in user it should select the default value for that user. Onselect from the previous screen I am passing the DefaultTeamDL value which is Dynamically derived based on Office365Groups.

 

this is what I have for item for the combo box

item: 'SharePoint list'

The combo box displays the title values for the SharePoint list

 

DefaultselectedITem: 

LookUp(''SharePoint list',Title=DefaultTeamDL )
 
When I click on the button from previous screen (Where the DefaultTeamDL value is passed) it takes me to the screen which has the combo box and it displays only the DefaultTeamDL value in combo box and all other values from the SharePoint list are missing.
But when I chose an item from the gallery to edit (screen which has the combo box) and go back to the page that has the combo box now it will display all the values from the SharePoint list with the default value picked based on DefaultTeamDL. Basically if I click on any item from the gallery oor go back and come again to the screen with combo box that's when it will shows all the values in the combo box and the default one selected is the correct one which is DefaultTeamDL.
 
What am I doing wrong that initially it only shows only one value in the combo box which is DefaultTeamDL.
  • ReenaS11 Profile Picture
    28 on at
    Re: DefaultselectedItem Combox shows only the default item and not the entire dropdown on loading

    @WarrenBelz Thanks for your help! this worked for me.

  • Verified answer
    WarrenBelz Profile Picture
    146,601 Most Valuable Professional on at
    Re: DefaultselectedItem Combox shows only the default item and not the entire dropdown on loading

    @ReenaS11 ,

    I am in a different time zone to you (7am here in Australia), so please be patient. Assuming DefaultTeamDL is a Text value, the DefaultSelectedItems should be

    {Title: DefaultTeamDL}

    however how are you writing multiple selections back to a Text field (Title) ? That is why I asked for the name and type of field you are writing back to.

  • ReenaS11 Profile Picture
    28 on at
    Re: DefaultselectedItem Combox shows only the default item and not the entire dropdown on loading

    @WarrenBelz Can you please help me?

  • ReenaS11 Profile Picture
    28 on at
    Re: DefaultselectedItem Combox shows only the default item and not the entire dropdown on loading

    the Combo box is on a search screen which by default should show the value that is set as a variable from the previous screen which displays correctly but when I am on the search screen in the combo box it only shows that variable value from previous screen and not all the Title values from the SharePoint list.

  • ReenaS11 Profile Picture
    28 on at
    Re: DefaultselectedItem Combox shows only the default item and not the entire dropdown on loading

    items for combo box is  'SharePoint list' displaying the title and yes allow multiple selection is turned to yes.

  • WarrenBelz Profile Picture
    146,601 Most Valuable Professional on at
    Re: DefaultselectedItem Combox shows only the default item and not the entire dropdown on loading

    Hi @ReenaS11 ,

    What is the Items of the Combo Box and what is the name and type of field that it is displaying from / writing to. Also your Combo Box allows multiple selections - is the field multi-value ?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,601 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard