Open jessiezh0320 opened 3 years ago
I also encounter the described problem when working with two or more RadioButtonGroups on a UWP build.
Same here! Once the second group is created, the first one will get all its RadioButtons unselected
I have the same problem. The bug is also in the latest 5.0.0.2244. I have found two possible workarounds:
Workaroud 1: Use a ControlTemplate. Only RadioButtons without ControlTemplate are affected.
Workaround 2: If you have your code for setting the initial values for RadioButtons in a method named e.g. InitRadioButtons(), do not call it directly. Instead, put the following line at the end of OnAppearing:
Task.Run(() => MainThread.InvokeOnMainThreadAsync(InitRadioButtons));
Description
RadioButtons with two or more groups doesn't initialize correctly in UWP.
Steps to Reproduce
create a new xamarin forms app and use the following code in one page;
Expected Behavior
Hope the RadioButtons with two or more groups could initialize correctly in uwp.
Actual Behavior
RadioButtons with two or more groups doesn't initialize correctly in UWP.
Basic Information
Environment