How to Reset Power Apps Combo Box

Do you have any ideas for how to reset the combo box selection once an item has been selected, whether it is a single value or a set of values? If not, this Power Apps tutorial will teach you how to get rid of it.

This Power Apps Tutorial explains how to reset a combo box control after the item(s) has been selected in various scenarios. Such as:

  • Power Apps combo box reset property
  • Power Apps combo box reset
  • Power Apps combo box reset button
  • Power Apps combo box reset default selected item
  • Power Apps combo box reset search text
  • Power Apps combo box reset in gallery
  • Power Apps combo box reset in edit form
  • Power Apps multiple combo box reset

Power Apps Combo box reset property

There is a property called Reset in the Power Apps Combo box control that allows us to reset and clear the item(s) currently selected in the control.

This property can be found in the Action section of the ‘Advanced‘ panel (on the right side properties panel or at the top of the Power Apps combo box control’s property panel). As can be seen, the default value is false, as shown below:

Power Apps combo box reset property
Power Apps combo box reset property

This is how you can get the reset property within the Power Apps combo box control.

Also read: Power Apps Combo box with SharePoint list

Power Apps combo box reset

Here, we will see how to reset a combo box control within the Power Apps. Suppose, we have created a combo box control using some custom values on the Items property such as:

Items = ["USA", "UK", "Brazil", "France", "Switzerland", "Germany"]
Power Apps combo box reset
Power Apps combo box reset

Let’s select an item from the above combo box control (ex: France).

How to reset a Power Apps Combo box control
How to reset a Power Apps Combo box control

To reset the selected item within the combo box control, set the reset property as true.

Reset = true

Once we reset the value as true, we can see it will clear the selected item from the combo box control like below:

Reset The combo box control on Screen in Power Apps
Reset The combo box control on Screen in Power Apps

This is how to clear a combo box control within the Power Apps screen using a reset property.

Check out: Power Apps Cascading Dropdown Control

Power Apps combo box reset button

In Power Apps, we can reset any control using a button control. Here, we will see how to reset a Power Apps combo box using a button control.

We are going to use the above example of combo box control. On that screen, add a button control and rename it as Reset. Then, insert the expression on the button’s OnSelect property.

OnSelect = Reset(cmb_Country)

Where cmb_Country is the name of the combo box control.

Power Apps combo box reset button
Power Apps combo box reset button

Let’s preview the app and select an item from the combo box control. Then click on the reset button. We can see it will clear the currently selected item.

This is how to reset a Power Apps combo box control using a button.

Read: How to Filter Power Apps Dropdown Control

Power Apps multiple combo box reset

In the previous example, we saw how to reset a combo box control with a button within Power Apps. We’ll look at how to reset multiple Power Apps combo box controls in this section.

Suppose, we have built two combo box controls using choice columns from a specific SharePoint list like below.

Power Apps multiple combo box reset
Power Apps multiple combo box reset

Add a button control to that screen and insert the below expression on the button’s OnSelect property.

OnSelect = Reset(Cmb_JobLocation); Reset(Cmb_WorkModel)

where Cmb_JobLocation and Cmb_WorkModel are the names of the combo box controls.

Reset Power Apps multiple combo box
Reset Power Apps multiple combo boxes

Let’s save and publish the app. Play it in preview mode. We can see it will vanish the selected items from both the controls once the button is selected. This is how to reset the multiple combo boxes within the Power Apps.

Have a look: How to Work With Power Apps Dropdown Blank Values

Power Apps combo box reset search text

Here we will see how to reset a search text bar within the Power Apps Combo box control. Suppose, we have a combo box control that is attached to the SharePoint choice column data.

On that combo box control set the IsSearchable or Allow searching property as true. As a result, the combo box will appear with a search text bar like below:

Power Apps combo box reset search text
Power Apps combo box reset search text

Next, we will add a Reset icon to the screen. And insert the below formula within the OnSelect property.

OnSelect = Reset(Cmb_WorkModel);

Where Cmb_WorkModel is the name of the combo box control.

Power Apps combo box reset to search text
Power Apps combo box reset to search text

Now, save the app and play it in preview mode. We can see, when we select any item from the combo box control and click on the reset icon, it will reset the combo box control as well as clear the search text property.

If you want to work with clear search text in Combobox post selection, click on the given link to get more ideas.

Power Apps combo box reset in edit form

Here we will see how to reset a combo box selected item within the Power Apps edit form. Here we have prepared an edit form and attached that edit form with a Specified SharePoint list that includes a combo box control (i.e., Job Location).

Power Apps combo box reset in edit form
Power Apps combo box reset in edit form

As per our requirement, there is a ‘+‘ icon within the form. So whenever the user clicks on that icon, it will reset only the combo box control and allow the user to select a new item from the combo box list.

To work with this above scenario, add a ‘+’ icon and make sure to place it within the edit form control. Next, select the icon and insert the below property inside the icon’s OnSelect property.

NOTE:

Here, we have inserted that icon within the ‘Job Title’ data card to reset the control inside the edit form and place that icon in front of the Form’s label control to make it visible.
OnSelect = Reset(DataCardValue9)

Where DataCardValue9 is the name of the combo box DataCardValue.

How to reset a Power Apps combo box in edit form
How to reset a Power Apps combo box in edit form

That’s it! Now, we will save the app and play it in preview mode. Let’s select any item from the combo box control as well as insert data in the text field. We can see when we click on the + icon, it will reset only the combo box control inside the Power Apps edit form.

Power Apps combo box reset in edit form
Power Apps combo box reset in edit form

This is how to reset the Power Apps combo box control within the edit form.

Check out: How to Remove Duplicates in Power Apps Dropdown

Power Apps Combo box reset in gallery

Here, we will see how to reset a combo box control using the Power Apps Gallery. That means when the user selects any choice from the combo box control, and if he clicks on the reset icon it will return to the default item.

To work with this scenario, we have prepared a Power Apps gallery using a specific SharePoint list which has a choice column like the below:

Power Apps combo box reset in gallery
Power Apps combo box reset in gallery

In the gallery, we have built a combo box control using the choice column like below:

Reset a Power Apps combo box in gallery
Reset a Power Apps combo box in the gallery

To display the selected item, insert the below expression on the combo box’s DefaultSelectedItems:

DefaultSelectedItems = ThisItem.Location

We can see, it will display the selected items that retrieve from the SharePoint list.

Resetting Power Apps combo box in gallery
Resetting the Power Apps combo box in the gallery

Now we’ll add a Reset Icon to the gallery. So, if the user makes an incorrect selection, it will be reset to the default selected item by clicking on the reset icon. Also, insert the below code in the OnSelect property of the reset icon.

OnSelect = Reset(Cmb_City)

Where Cmb_City is the name of the combo box control name.

Resetting a combo box inside a gallery
Resetting a combo box inside a gallery

Now, save the app and play it in preview mode. We can see when we select another choice from the combo box control and then select click on the reset icon, it will return to the previously selected item like below:

Power Apps combo box reset in gallery
Power Apps combo box reset in gallery

This is how to reset a combo box inside a Power Apps gallery.

Also read: How to Set Default Value in Power Apps Dropdown

Power Apps Combo box reset default selected Items

In this section, we will look at how to use the Power Apps Combo box to reset the default selected Items. That is, we will create a combo box control in the Power Apps screen and select a default item.

So that it displays the selected item before the user selects one. When the user clicks the reset button or icon, the item that was previously selected is restored. The following steps are:

  • Build a combo box control within the Power Apps screen.
  • Connect it with the desired SharePoint list. (i.e., Job Openings)
  • Then select the combo box control and navigate to Fields > Edit.
  • Set the primary text as Title. (i.e., The name of a SharePoint column used in the Combo box control))
Power Apps combo box reset default selected item
Power Apps combo box reset default selected item
  • To set the default selected item from the choices of the combo box control, insert the following expression in the DefaultSelectedItems:
DefaultSelectedItems = LookUp('Job Openings', Title = "PowerApps Developer")

Where,

  1. ‘Job Openings’: The name of the SharePoint list.
  2. Title: The name of the SharePoint column.
  3. “PowerApps Developer”: A specified item from the combo box control.

We can see, it will show the default item as PowerApps Developer in the combo box control like below.

Power Apps combo box reset to default selected item
Power Apps combo box reset to default selected item
  • Add a button control to the screen and give a name as Reset to the button. Inject the below expression into the button’s OnSelect property. So that when the user clicks on the button it will reset to the default selected item.
OnSelect = Reset(Cmb_Job_Location);

Where Cmb_Job_Location is the name of the combo box control.

Power Apps combo box to default selected item
Power Apps combo box r

That’s it! Now, preview the app, select any item from the combo box control, and click on the reset button. We can see it will return to the default selected item i.e., Power Apps Developer.

This is how to reset a default selected item within the Power Apps combo box control.

Also, have a look at the below Power Apps Tutorials:

Conclusion

From the above Power Apps Tutorial, we learned all about how to work with Power Apps Combo Box Control using the reset function in different types of scenarios:

  • Power Apps combo box reset property
  • Power Apps combo box reset
  • Power Apps combo box reset button
  • Power Apps multiple combo box reset
  • Power Apps combo box reset search text
  • Power Apps combo box reset in edit form
  • Power Apps combo box reset in gallery
  • Power Apps combo box reset default selected items
>