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

don't add _unused fields for hidden inputs #3244

Merged
merged 1 commit into from May 13, 2024
Merged

Conversation

SteffenDE
Copy link
Collaborator

Based on a message in the Elixir Slack. With large forms that contains multiple hidden inputs, the payload size increases unnecessarily because of the _unused parameters. I currently don't see a reason to send thoses for fields that are only based on hidden inputs. If there are any, please correct me :)

@SteffenDE
Copy link
Collaborator Author

I'll try to add some tests for the new _unused parameters when I find the time; not necessarily in this PR.

@chrismccord chrismccord merged commit a793a04 into main May 13, 2024
12 checks passed
@chrismccord
Copy link
Member

TIL Array.every ❤️❤️❤️🐥🔥

@chrismccord chrismccord deleted the sd-hidden-unused branch May 13, 2024 14:47
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.

None yet

2 participants