How To Remove Power Apps Combo Box Selected Item?

Did you have a requirement to remove the combo box selected item from the both gallery and the SharePoint list? Keep reading: +

In this Power Apps tutorial, I will explain “Power Apps combobox remove selected item”

Remove the Power Apps Combo box selected item

In this section, I will explain how we can remove the selected item from the combo box, including its corresponding items, gallery, and a SharePoint list.

Example,

I have a SharePoint list [Vendors], which has a column as shown below:

Column NameData Type
VendorsTitle
Power Apps Combo box remove selected item

I have created a Power Apps Canvas app and then added a Combo box control and a Gallery control. Both controls are connected to the above SharePoint list title column.

Remove the Power Apps Combo box selected item

Also on my Power Apps screen, there is a Button control. Whenever the user selects a value from the Combo box control and clicks on a button control. That selected value will be removed from its corresponding items, the gallery control.

And also the selected item will also be removed from a SharePoint list.

Power Apps remove Combo box selected item

Let’s see how to achieve this:

  • On the Power Apps screen, insert a Combo box control -> Set its Items property to:
Vendors.Title

Where,

  1. Vendors = SharePoint list name
  2. Title = SharePoint list title column
Power Apps remove a single selected item from a Combo Box
  • Insert a Gallery control -> Set its Items property to:
Vendors

Where,

  1. Vendors = SharePoint list name
How to remove the Combo box selected value in Power Apps
  • Insert a Button control -> Set its OnSelect property to:
RemoveIf(
    Vendors,
    Title = cmb_Vendors.Selected.Title
);
Reset(cmb_Vendors);

Where,

  1. Vendors = SharePoint list name
  2. Title = SharePoint list title column
  3. cmb_Vendors = Combo box control name
Remove already selected item from Power Apps combo-box choices
  • Once your app is ready, just SavePublish, and Preview the app. When the user selects any value from the combo box and clicks on button control. The selected value will be removed from its corresponding items, the gallery control.
  • Also, the selected item will also be removed from a SharePoint list.
Remove Combo box selected item in Power Apps

This is how we can remove the Power Apps combo box selected item.

Conclusion

I hope this Power Apps tutorial helped you to implement on “Power Apps combobox remove selected item”

  1. Whenever the user selects a value from the Combo box control and clicks on a button control. That selected value will be removed from its corresponding items, the gallery control.
  2. And also the selected item will also be removed from a SharePoint list.