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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Listbox does not show ...
Power Apps
Answered

Listbox does not show me the selected values in view mode

(0) ShareShare
ReportReport
Posted on by 119 Microsoft Employee
I have a Sharepoint list in which I am storing information through a form created with the help of PowerApps, I am presenting the problem that I want to display the values saved in a Listbox in the view mode, the Listbox I have activated Allow multiple selections, since I require it.
 
That is, when selecting a Sharepoint Item to see its information does not show me in the listbox the values that it has registered.
 
It is important to make it clear that items in the list box are obtained from a search column in Sharepoint.
 
In the Default property of my Listbox I have set the value "1", I don't know why.
 
sebastianslz_0-1662579291166.png
In the Items property of my Listbox I have defined the following, where I refer to the Sharepoint list column.
 
sebastianslz_1-1662579339572.png

 

Is there any way in which you can display the items previously saved in the listbox but in the view mode ?
Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @sebastianslz 

    Although a listbox will allow you to make multiple selections, it will not allow you to select multiple items through the default.

    If you only had one selection to be shown, then it would be fine, but for multiple - it will not work!

     

    I would recommend not using the ListBox control if you need to select multiple items in this case.

     

    I hope this is helpful for you.

     

     

  • sebastianslz Profile Picture
    119 Microsoft Employee on at
    @RandyHayes  But I'm still using Listbox to select multiple values and it works fine for me, the information is saved correctly in the list, I have had no problem using Listbox
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @sebastianslz 

    That is great!  But, like I mentioned, you can use a listbox and select multiple values just fine - but you cannot set the multiple values to be displayed by default in the listbox control.  It just doesn't do it.

  • sebastianslz Profile Picture
    119 Microsoft Employee on at
    @RandyHayes  Ok, I understand that I can't use Listbox to display multiple values, that another component I can use to display items previously saved in the Listbox
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @sebastianslz 

    If you want the ListBox "look", then a Gallery is a good choice.  

    I typically do that Listbox lookalike in a Component and then use it in place of the ListBox.

     

  • sebastianslz Profile Picture
    119 Microsoft Employee on at
    @RandyHayes  I'm not really interested in the same aspect of Listbox, what interests me is that the values that were previously saved are displayed, could it be that it is displayed so in a TextInput and separated by comma, some idea ?
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @sebastianslz 

    Yes, you can always do that.  I thought you wanted to have a ListBox show the values that were selected.

    It is actually kind of important that they do show what is selected as you will otherwise run into complexity if writing the data back.  Meaning, if someone edits a record that has a listbox of data shown and yet they make no changes to that listbox selection, then by default, if you write back the listbox choices...well, there will then be none, and your data will be lost.

     

    If you just want to display the values, then it depends on your column type.  I will assume it is a choice column and that you have multiple selections enabled on it.

     

    In that case, a label or textinput with a formula such as : Concat(yourColumn, Value & ", ")

    Again, depending on your scenario, but that would show the choices.

  • sebastianslz Profile Picture
    119 Microsoft Employee on at
    @RandyHayes  The type of column in the Sharepoint list that I am using is LookUp, would it work the same in this case ?
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @sebastianslz 

    Yes, the Lookup column has a Value property as well.  It would be the foreign column value that is defined in your lookup column settings in the SharePoint list.

  • sebastianslz Profile Picture
    119 Microsoft Employee on at
    The formula Concat(yourColumn, Value & ", ") in which property of the label or text input is added ?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 414

#2
Valantis Profile Picture

Valantis 387

#3
timl Profile Picture

timl 344 Super User 2026 Season 1

Last 30 days Overall leaderboard