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 html validation for checkboxes #17683

Merged
merged 1 commit into from May 13, 2024
Merged

Fix html validation for checkboxes #17683

merged 1 commit into from May 13, 2024

Conversation

markstory
Copy link
Member

Use this.checked instead of this.value for checkboxes as we want to validate that checkboxes are checked as their value is fixed.

I will port this fix to 5.x after it merges.

Fixes #17672

Use `this.checked` instead of `this.value` for checkboxes as
we want to validate that checkboxes are checked as their value is fixed.

Fixes #17672
@markstory markstory added this to the 4.5.6 milestone May 12, 2024
@markstory markstory merged commit f53e8a7 into 4.x May 13, 2024
11 of 12 checks passed
@markstory markstory deleted the fix-formhelper-checkbox branch May 13, 2024 13:53
markstory added a commit that referenced this pull request May 13, 2024
Use `this.checked` instead of `this.value` for checkboxes as
we want to validate that checkboxes are checked as their value is fixed.

Port changes from #17683 to 5.x

Fixes #17672
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

1 participant