material-web icon indicating copy to clipboard operation
material-web copied to clipboard

Checkbox does not work with form in Safari as intended

Open IvanDreamer opened this issue 1 year ago • 1 comments

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

Example in Lit playground

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)

IvanDreamer avatar Feb 16 '24 07:02 IvanDreamer

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?

asyncLiz avatar Feb 16 '24 19:02 asyncLiz

Closing to inactivity, please comment with error messages if you're still seeing the issue!

asyncLiz avatar Apr 10 '24 17:04 asyncLiz