Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] RadioButtonGroup attached properties need setters #12313

Closed
davidbritch opened this issue Sep 30, 2020 · 0 comments · Fixed by #13111
Closed

[Bug] RadioButtonGroup attached properties need setters #12313

davidbritch opened this issue Sep 30, 2020 · 0 comments · Fixed by #13111
Assignees
Labels
a/radiobutton 🔘 blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. in-progress This issue has an associated pull request that may resolve it! t/enhancement ➕
Milestone

Comments

@davidbritch
Copy link

davidbritch commented Sep 30, 2020

Description

The RadioButtonGroup class has GroupName and SelectedValue attached properties. However, both lack setters which makes setting them through code less obvious.

Basic Information

  • Version with issue: 5.0-pre1

Workaround

Use BindableObject.SetValue() to set the attached properties, e.g.:

            StackLayout fruitStackLayout = new StackLayout
            {
                Children = { appleRadioButton, bananaRadioButton, pineappleRadioButton, otherFruitRadioButton }
            };
            fruitStackLayout.SetValue(RadioButtonGroup.GroupNameProperty, "fruits");
@davidbritch davidbritch added t/bug 🐛 s/unverified New report that has yet to be verified labels Sep 30, 2020
@hartez hartez self-assigned this Sep 30, 2020
@hartez hartez added t/enhancement ➕ and removed s/unverified New report that has yet to be verified t/bug 🐛 labels Sep 30, 2020
@hartez hartez added this to the 5.0.0 milestone Sep 30, 2020
@hartez hartez added this to To do in Other Ready For Work via automation Sep 30, 2020
@samhouts samhouts added this to To do in vNext+1 (5.0.0) Oct 1, 2020
@PureWeen PureWeen moved this from To do to Blockers in vNext+1 (5.0.0) Nov 3, 2020
@PureWeen PureWeen added the blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. label Nov 3, 2020
@samhouts samhouts moved this from Blockers to To do 2 in vNext+1 (5.0.0) Nov 3, 2020
@samhouts samhouts moved this from To do 2 to Blockers in vNext+1 (5.0.0) Nov 3, 2020
@jsuarezruiz jsuarezruiz added the in-progress This issue has an associated pull request that may resolve it! label Dec 11, 2020
@jsuarezruiz jsuarezruiz self-assigned this Dec 11, 2020
@jsuarezruiz jsuarezruiz moved this from Blockers to In Progress in vNext+1 (5.0.0) Dec 14, 2020
Other Ready For Work automation moved this from To do to Done Dec 17, 2020
vNext+1 (5.0.0) automation moved this from In Progress to Done Dec 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/radiobutton 🔘 blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. in-progress This issue has an associated pull request that may resolve it! t/enhancement ➕
Projects
Development

Successfully merging a pull request may close this issue.

4 participants