Deselect or Reset Radio Button in Power Apps

There will be times when you might required to clear a radio button in Power Apps or deselect a Power Apps radio button. In this Microsoft Power Apps tutorial, I have explained how to reset radio button in Power Apps. Will show you how to reset the Power Apps Radio button’s default value and how to deselect a Power Apps Radio button with simple examples.

To reset a radio button in Power Apps, you can use the reset() method of Power Apps. Like, to reset the Power Apps radio button on a button click, write the formula in the onselect property: OnSelect = Reset(Radio_Values).

Reset Power Apps Radio Button

Let’s see how to reset the Power Apps Radio button default value.

Example:

1. In Power Apps, I have a Radio button control with the Yes/No value. Also, I set the Radio button’s default value as “Yes”.

power apps reset radio button

2. Then, I added a Reset icon to reset the Power Apps Radio button default value. Whenever you select the “No” value in the Radio button, click on the Reset icon to get the default value.

Refer to the below image:

powerapps reset radio button

To achieve the above example, follow the below steps. Such as:

3. Open Power Apps -> Create Power Apps Canvas app -> Select default Power Apps screen -> Insert a Radio button and set its Items property as:

Items = ["Yes", "No"]

Where,

  • “Yes”, “No” = Power Apps Radio Button Items
Reset Power Apps Radio Button Control

4. Also, set the Radio button’s Default property as:

Default = "Yes"
Reset Power Apps Radio Button

5. Then, insert a Reset icon and set its OnSelect property to the code below:

OnSelect = Reset(Radio_Values)

Where,

  • Reset() = This Power Apps Reset() function is used to reset a control to its Default property value
  • Radio_Values = Power Apps Radio Button Name
powerapps clear radio button

6. Save, Publish, and Preview the app. When a user selects the “No” value, he/she clicks on the Reset icon to get the Power Apps Radio button default value as shown below.

power apps clear radio button

This is how to reset the Radio button control in Power Apps.

Deselect Radio button in Power Apps

Here, we will see how to deselect Radio button in a Power Apps Canvas app. Let me show you an example of the “Power Apps deselect radio button“.

Example:

1. In Power Apps, I have another Radio button control that has the “IT Department Names” like below.

power apps deselect radio button

2. Now, I want to set the Radio button’s Default value as “Blank()” and insert a Reset icon to reset the Radio button without any selected value as in the screenshot below.

Deselect Radio button in Power Apps

To work around this example, follow the below steps.

3. On the Power Apps Screen -> Insert a Radio button control and set its Items property as:

Items = [
    "Admin",
    "Cybersecurity",
    "Helpdesk",
    "Network administrator",
    "Application Developer"
]

Where,

  • “Admin”, “Cybersecurity”, “Helpdesk”, etc… = Power Apps Radio Button Items
powerapps deselect radio button

4. Next, set the Radio button’s Default property as:

Default = Blank()

Where,

  • Blank() = This function is a placeholder for “No value” or “Unknown value”
deselect radio button Power Apps

5. Now, insert a Reset icon and set its OnSelect property to the code below.

OnSelect = Reset(Radio_ITDepartments)
Deselect Power Apps app Radio button control

6. Save, Publish, and Preview the app. Whenever the user wants to reset the Radio button without any selected value, click the Reset icon to Unselect the Radio button.

power apps deselect radio button

This is all about how to Unselect or Deselect the Power Apps Radio button control.

Conclusion

Whenever you want to reset a Power Apps Radio button control, you can use the Reset() function to reset a Radio button control to its Default property value.

This Power Apps tutorial taught us how to reset a Power Apps Radio button and Deselect Power Apps radio button.

You may also like: