You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cdk/drag-drop): preserve checked state for grouped radio inputs (#20237)
We transfer input `value` property while cloning draggable element, but
with several radio inputs that have the same `name` attribute we can face an
issue when checked state moves to cloned radio input element and we can't restore it
when dropping element.
These changes add unique name for all cloned elements: radio inputs
inside preview and placeholder. This makes sure that original input
won't lose its checked state once the clone is inserted in the DOM.
Fixes#20236
0 commit comments