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 / DefaultselectedItem Co...
Power Apps
Unanswered

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

(1) ShareShare
ReportReport
Posted on by 78

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.
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    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 ?

  • ReenaS11 Profile Picture
    78 on at

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

  • ReenaS11 Profile Picture
    78 on at

    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
    78 on at

    @WarrenBelz Can you please help me?

  • Verified answer
    WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    @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
    78 on at

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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard