What is affected?
Component
Description
When there are multiple buttons in a form, only the clicked button should submit its name/value.
However, now all Material buttons in a form submit their name/value. In fact, even Material buttons that aren't submit buttons will submit their name/value.
I suspect this regression may have been caused by 082faad
Reproduction
Lit Playground
Workaround
I have not found a workaround.
Is this a regression?
Yes. This used to work, but now it doesn't.
Affected versions
Failing in 2.5.0, worked in 2.4.1
Browser/OS/Node environment
Browser: Chrome 151.0.7922.138
OS: Windows 11
Node version: 24.19.0
npm version: 12.0.2
What is affected?
Component
Description
When there are multiple buttons in a form, only the clicked button should submit its name/value.
However, now all Material buttons in a form submit their name/value. In fact, even Material buttons that aren't submit buttons will submit their name/value.
I suspect this regression may have been caused by 082faad
Reproduction
Lit Playground
Workaround
I have not found a workaround.
Is this a regression?
Yes. This used to work, but now it doesn't.
Affected versions
Failing in 2.5.0, worked in 2.4.1
Browser/OS/Node environment
Browser: Chrome 151.0.7922.138
OS: Windows 11
Node version: 24.19.0
npm version: 12.0.2