cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CarloPrincipe
Level: Powered On

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
Community Support Team
Community Support Team

Re: Remove already selected item from combo-box choices

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
PavanKumar
Level 8

Re: Remove already selected item from combo-box choices

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
CarloPrincipe
Level: Powered On

Re: Remove already selected item from combo-box choices

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

 

Community Support Team
Community Support Team

Re: Remove already selected item from combo-box choices

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 322 members 2,846 guests
Please welcome our newest community members: