cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnjohn123
Post Prodigy
Post Prodigy

How i can get the selected items inside a List Box and assign them to a SharePoint text field Defult property

I have a ListBox inside my Power Apps screen, as follow:-

 

per.png

 

and i have a hidden text box, where i want to define the Default value for the text box to be the selected items (if any) from the ListBox separated by ",".. so from the above screen the Default value for the text box should be "Wireless Mouse/Keyboard" , while if the user select all the values inside the List Box, then the Default value for the textbox should be "Docking Station,Wireless Mouse/Keyboard, Monitors ".. any advice on this please?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi @johnjohn123,

Have you solved your problem?

Please set the Text property of the Label as below:

Concat(ListBox1.SelectedItems,Value,",")

vqiaqimsft_0-1632105552566.png

 

Best Regards,
Qi

View solution in original post

1 REPLY 1
v-qiaqi-msft
Community Support
Community Support

Hi @johnjohn123,

Have you solved your problem?

Please set the Text property of the Label as below:

Concat(ListBox1.SelectedItems,Value,",")

vqiaqimsft_0-1632105552566.png

 

Best Regards,
Qi

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,290)