cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Get all selected items from combobox

Hi guys,

 

im gettin crazy. i ve set up a combobox which uncludes the following items:

 

["1","2","3","4"]

 

i want to display the selected combobox items in a textlabel field (Text = combobox.Selected.Value).... but i only get the last selected combobox entry..... how do i get all of them ... ?

15 REPLIES 15
Highlighted
Anonymous
Not applicable

I have a combo box which has a list of items.

I would like to populate another combo box based on the selections made in the first combo box.

 

I think i need to create a collection from the 1st combo box and use this collection to create the items in the 2nd drop down box.

 

I am struggling to collect the selections from the 1st combo.

 

any ideas?

Highlighted

Hello @Anonymous,

I don't think you need to create any collections. Please try the following:

1. Create a blank app and add 2 ComboBox controls.

2. Set ComboBox2.Items property to the ComboBox1.SelectedItems.

3. Select some items in ComboBox1. 

4. Open the ComboBox2. You should see the selected items.

Highlighted
Anonymous
Not applicable

Thanks @dinusc

 

Works a treat! Very much appreciated.

Highlighted
Helper IV
Helper IV

listbox default select

 

@dinusc

ComboBox with multi select

ItemsDistinct(Filter(Product,Name.Id=Dropdown.Selected.ID),Title)

ListBox

Items: Distinct(Filter(product,Title in Listbox.SelectedItems),Description)

Default:LookUp(Product,Title in listbox.SelectedItems.Result,Description)

textInput: Concat(ADDescription.SelectedItems,Result&",")

 

while using this scenario, Its working when there is only one item in the combobox and if we select it the description is selected default and added to the textbox

But, when we select multiple items in the combobox, on description it shows both descriptions are selected but its only populating one description on top of the list.

Can you help me with were i'm messing with the formula.

Thanks in advance.

MK

Highlighted
Anonymous
Not applicable

Thanks for your solution. My combo box values when printed to Sharepoint end with a comma. IS there a way to stop this from happening? See below a screenshot of my SharePoint list. Thanks!

Untitled1.png

Highlighted

Thanks, it works for me.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (14,153)