cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Aaron3Sixty5
Helper I
Helper I

Radio button control issue, is it a bug?

Hi Power Apps community!

I've run into what seems like a bug.  The radio control is 'remembering' the previous selected item under certain conditions.

 

SharePoint has a choice column, RadioBtn, set to radio button, with three choices, "once, twice, thrice" and no default:

Aaron3Sixty5_0-1616078379040.png

In PowerApps/Customize Forms, I added the radio control to the RadioBtn data card below the combo box, set the Items property to the same as the combo box:  Choices([@radioButtonToPowerappsTest].RadioBtn), and set the Default property to ThisItem.RadioBtn.Value:

Aaron3Sixty5_3-1616079429222.png

 

When I browse through each option, the default is shown correctly at first:

Click test2:

Aaron3Sixty5_1-1616079201951.png

Click test 3:

Aaron3Sixty5_2-1616079276983.png

But as soon as I click the first record with a blank RadioBtn, it 'remembers' the previous selected option, even though it is quite clear Thisitem.RadioBtn.Value is indeed blank:

Aaron3Sixty5_4-1616079712628.png

 

If I click the next item, 'test another blank', only then does it correctly show nothing selected:

Aaron3Sixty5_5-1616079793460.png

 

Then if I click item test 1a:

Aaron3Sixty5_6-1616079871562.png

and follow that with clicking 'test another blank':

Aaron3Sixty5_7-1616079974097.png

 

If I keep clicking 'test another blank' I get same as above.  Only until I click 'test blank' the radio button options clear:

Aaron3Sixty5_8-1616080125757.png

 

I'm sure there is a method to 'reset' or force this control to behave; I'll work on that later today.  But this certainly appears like buggy behavior...however I'm probably doing something wrong so please let me know!

Thanks,

Aaron

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @Aaron3Sixty5 ,

 

Please try to use this formula on Default property of radio cotrol:

If(!IsBlank(ThisItem.RadioBtn.Value),ThisItem.RadioBtn.Value,"")

 

The result is as follows:

AAA.gif

 

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

View solution in original post

1 REPLY 1
v-xiaochen-msft
Community Support
Community Support

Hi @Aaron3Sixty5 ,

 

Please try to use this formula on Default property of radio cotrol:

If(!IsBlank(ThisItem.RadioBtn.Value),ThisItem.RadioBtn.Value,"")

 

The result is as follows:

AAA.gif

 

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,076)