How to Reset Combo box in Power Apps?

Do you want to reset a Combo box in Power Apps? If Yes, No worries!

This tutorial will show you how to reset Combo box in Power Apps.

Moreover, this tutorial will teach you to reset a combo box selected value to a default value in Power Apps.

Power Apps Combo Box Reset Property

We can find a property called “Reset” within a Power Apps combo box control. This property helps us to clear the combo box selected item when the app loads.

By default, the Power Apps Reset property is set to false, as shown below:

power apps reset combo box

How to Reset Combo box in Power Apps

This section will show how to reset the Power Apps combo box.

For example, I have a SharePoint list [Product list] with various columns below:

Column NameData Type
NameTitle
VendorsLookup
powerapps reset combobox to blank

On my Power Apps screen, an Edit form is connected to the above SharePoint list. The form contains a Power Apps combo box control and a Button control.

When the user selects a value from the combo box and clicks on a button control, the selected item will be removed from the combo box.

powerapps clear combobox selection

You can see here the combo box clears the selected item as shown below:

reset combobox in powerapps

Follow the below steps to achieve this:

  • Open your Power Apps with respective Microsoft credentials.
  • Create a Power Apps Blank canvas app -> Insert an Edit form -> Set its Data source property to:
'Product list'

Where,

  1. Product List = SharePoint list name
power apps reset combo box
  • Insert a Button control -> Set its OnSelect property to:
Reset(DataCardValue2);

Where,

  • DataCardValue2 = Combo box control name
powerapps clear combobox to blank
  • SavePublish, and Preview the app. When a user selects a value from the combo box control in the form and clicks on a button control, it clears the selected items of a Power Apps combo box control.
powerapps reset combobox to blank

This is how to clear combo box selection in Power Apps.

Power Apps Reset Combo Box To Default Value

Let me check how to reset to a default value in the Power Apps Combo box.

On my Power Apps screen, a Combo box control is connected to the above SharePoint list column [Vendor], and I have set a default value in the combo box as “HP.”

When the user selects a value from the Power Apps combo box control and clicks on the Button control, it should reset to the default value.

How to reset Power Apps combo box to default value

You can see here the combo box selected value has been reset to its default value, as shown below:

Power Apps reset combo box to default value

Follow the below steps to achieve this:

  • On the Power Apps screen, insert a Combo box -> Set its Items properties to:
Distinct('Product List',Vendors)

Where,

  1. Product List = SharePoint list name
  2. Vendors = SharePoint list column name
Reset Power Apps combo box to default value
  • Now, set the Combo box DefaultSelectedItems property to:
["HP"]

Where,

  1. HP = This is the column value; I am assigning it as the default value.
How to reset combo box to default value in Power Apps
  • Insert a Button Control -> Set its OnSelect property to:
Reset(cmb_Vendor);

Where,

  1. cmb_Vendor = Combo box control name
Reset combo box to default value in Power Apps
  • SavePublish, and Preview the app. When a user selects a value from the combo box control and clicks on a button control, the selected value will be reset to its default value.
How to reset combo box to default value Power Apps

This is how to reset a combo box selected value to a default value in Power Apps.

Conclusion

I hope this tutorial gave you the complete information about resetting a Power Apps combo box.

Lastly, you have learned to reset a combo box to the default value in Power Apps.

You may also like some more tutorials below: