material-web
material-web copied to clipboard
md-radios share same single selection group, ignoring associated forms.
What is affected?
Component
Description
Opposed to native radio behavior, <md-radio>s with same name within different forms share the same single selection group. If associated, form should have higher priority over root node (document) for querying radios of same name.
Reproduction
In the next stackblitz you can see the difference in behavior. (queueMicrotask was replaced with setTimeout following this issue
Workaround
None
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
1.1.1
Browser/OS/Node environment
Browser: Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0 OS: Windows NT 10.0; Win64; x64