cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Remove already selected item from combo-box choices

Hi Everyone,

 

I Have a combobox, that pulls data of users from office365 connector, and store any selected names from the combobox into a collection, However, When the user select and deselect the name there is no way for me to remove the deselected item from the collection, it would then cause problems since if they continue to select the same name, it would store the name twice.

 

I tried to put the office365 within a collection, where I could then remove any selected names from the combobox, but it does not seem to work.

duplicate.PNG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Hi @CarloPrincipe ,

Could you show me 

1)the formula that you use to save selected names from the combobox into a collection?

2)you set the formula to which control's which property?

 

I've made a similar test for your reference:

I set the combo box's OnChange:

ClearCollect(collectionname,Combo box1.SelectedItems)

 

In this way, I not met the same peroblem like your description.8286.PNG

 

8287.PNG

 

 

Best regards,

 

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
Responsive Resident
Responsive Resident

Hi, Could you please elaborate on what do you mean by "When the user select and deselect the name ". Why to select and deselect? Regards, Pavan Kumar Garlapati
Highlighted

If by any chance, the user accidentally removed/crossed the name, and they wold bring it back.

 

Highlighted
Community Support
Community Support

Hi @CarloPrincipe ,

Could you show me 

1)the formula that you use to save selected names from the combobox into a collection?

2)you set the formula to which control's which property?

 

I've made a similar test for your reference:

I set the combo box's OnChange:

ClearCollect(collectionname,Combo box1.SelectedItems)

 

In this way, I not met the same peroblem like your description.8286.PNG

 

8287.PNG

 

 

Best regards,

 

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

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

Top Solution Authors
Top Kudoed Authors
Users online (7,659)