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

Allow null in FormSubmitEventStruct form state #2333

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

FrederikBolding
Copy link
Member

Fixes an unintentional issue where null was disallowed in FormSubmitEventStruct.value. This value represents the form state and null is intended to be used as a lack of value. This also fixes a problem where Snaps would error if a user tried to submit an empty form field.

@FrederikBolding FrederikBolding requested a review from a team as a code owner April 16, 2024 10:20
@FrederikBolding FrederikBolding merged commit da03d4a into main Apr 16, 2024
148 checks passed
@FrederikBolding FrederikBolding deleted the fb/fix-dynamic-ui-event-types branch April 16, 2024 11:24
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.

2 participants