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

Fix radios input with booleans #83

Merged
merged 1 commit into from
Jan 30, 2025
Merged

Fix radios input with booleans #83

merged 1 commit into from
Jan 30, 2025

Conversation

dontub
Copy link
Collaborator

@dontub dontub commented Jan 30, 2025

The previous approach with searching for the value in $element['#_option_values'] didn't work for booleans. For those the submitted value was either '0' or '1'. Looking for the submitted value as key fixes this issue and makes more sense.

systopia-issue: 27903

@dontub dontub merged commit 8308512 into main Jan 30, 2025
14 checks passed
@dontub dontub deleted the fix-radio-with-boolean branch January 30, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant