material-web
material-web copied to clipboard
Checkbox does not work with form in Safari as intended
What is affected?
Component
Description
In Safari when I put a checkbox in a form, data is not set as it should be, but in Chrome it works.
<form>
<md-checkbox name="subscription" checked value="test">Subscribe</md-checkbox>
<md-outlined-button>Save</md-outlined-button>
<div id="result"></div>
</form>
Reproduction
In Safari result is not showing in checked or unchecked state, but in Chrome data is showing in result.
Workaround
Use chrome maybe .)
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
1.2.0
Browser/OS/Node environment
Safari Version 16.6 (18615.3.12.11.2) OSX Version 13.5.1 (22G90)
Hm, I'm not able to reproduce in Safari 17, and it might take me a bit to figure out how to load a previous version on my corp laptop 😓
Can you provide any errors you're seeing in the console from that playground reproduction in Safari 16.6?
Closing to inactivity, please comment with error messages if you're still seeing the issue!