Helps to clarify that a form not submitting the params for a deselected checkbox/select form field is a feature of the HTML spec, not an unintended side-effect. It's a known gotcha, but reads like a bit of an unintended side effect.
The rails API guides includes a helpful section with details of this gotcha and why a hidden field is required, including examples of the HTML output.
This PR
adds a link to the rails API guides to clarify the hidden form fields on checkboxes
Because
Helps to clarify that a form not submitting the params for a deselected checkbox/select form field is a feature of the HTML spec, not an unintended side-effect. It's a known gotcha, but reads like a bit of an unintended side effect.
The rails API guides includes a helpful section with details of this gotcha and why a hidden field is required, including examples of the HTML output.
This PR
Issue
Closes #XXXXX
Additional Information
Pull Request Requirements
location of change: brief description of change
format, e.g.Intro to HTML and CSS lesson: Fix link text
Because
section summarizes the reason for this PRThis PR
section has a bullet point list describing the changes in this PRIssue
section