Open
Description
When using DDProxy
, if cloneNode == true
, inputs of type radio get reset after dragging the node. This can be verified in this simple test.
The issue is probably caused by DDProxy
usage of cloneNode
in line 152
. When the cloned node contains a checked radio input, the moment the clone node gets appended, it gets marked as the checked radio input of the group, unselecting the original one. Later, when destroying the proxy node, the original never gets checked again.
This can be easily reproduced as well in pure vanilla js