Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid crash with invalid cast using RadioButtonGroup.GroupName with a View #7438

Merged
merged 1 commit into from
May 30, 2022

Conversation

jsuarezruiz
Copy link
Contributor

Description of Change

Avoid crash with invalid cast using RadioButtonGroup.GroupName with a View. This avoid the casting crash, but I am going to create another issue to add validation so we get compile time and runtime errors.

The error comes from an unexpected use of the API, but we can protect these cases and/or provide extra information.

Issues Fixed

Fixes #7347

@jsuarezruiz jsuarezruiz added t/bug Something isn't working area-controls-radiobutton RadioButton, RadioButtonGroup labels May 24, 2022
@rmarinho rmarinho requested a review from PureWeen May 24, 2022 10:01
@Eilon Eilon added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 24, 2022
@jsuarezruiz jsuarezruiz added this to the 6.0.3xx-sr1 milestone May 27, 2022
@rmarinho rmarinho merged commit 142aa9d into main May 30, 2022
@rmarinho rmarinho deleted the fix-7347 branch May 30, 2022 09:38
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
@samhouts samhouts added the fixed-in-6.0.400 Look for this fix in 6.0.400! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-radiobutton RadioButton, RadioButtonGroup fixed-in-6.0.400 Look for this fix in 6.0.400! t/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RadioButtonGroup - MAUI Crash on Release InvalidCastException
4 participants