Form associated custom element checkboxes are not removed from form data once unchecked. If checked, the name and value are present in form data as expected. Expected: Once unchecked, the checkbox is not part of the derived form data. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#sect3 Actual: Once unchecked, the name and value are still part of the form data and not removed. Reproduction: https://stackblitz.com/edit/safari-form-associated-checkbox-bug?file=index.html
<rdar://problem/113696919>
Did this work in older Safari versions?
Good question. I have to check the repro in BrowserStack. If I remember correctly, formAssociated custom elements have just been shipped recently…