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

Gracefully handle empty field options #85

Merged
merged 1 commit into from
Feb 20, 2025
Merged

Conversation

aerni
Copy link
Owner

@aerni aerni commented Feb 20, 2025

This PR introduces a more graceful handling if no options are provided for fields like select, radio, and checkboxes. Previously, this would throw an exception and result in a 500 error on production. With this PR, the field options would simply be empty.

@aerni aerni merged commit ab7114c into main Feb 20, 2025
17 checks passed
@aerni aerni deleted the fix/empty-select-options branch February 20, 2025 19:48
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