We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ddd0597 + 0a88f9a commit 3696da4Copy full SHA for 3696da4
1 file changed
src/Sortable.js
@@ -1555,8 +1555,11 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
1555
Sortable.clone =
1556
Sortable.active = null;
1557
1558
- savedInputChecked.forEach(function (el) {
1559
- el.checked = true;
+ let el = this.el;
+ savedInputChecked.forEach(function (checkEl) {
1560
+ if (el.contains(checkEl)) {
1561
+ checkEl.checked = true;
1562
+ }
1563
});
1564
1565
savedInputChecked.length =
0 commit comments