File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -214,14 +214,14 @@ export default function sortableContainer(WrappedComponent, config = {withRef: f
214214 } ;
215215
216216 const fields = node . querySelectorAll ( 'input, textarea, select' ) ;
217- const nodeCloned = node . cloneNode ( true ) ;
217+ const clonedNode = node . cloneNode ( true ) ;
218218
219219 fields . forEach ( ( field ) => {
220- const element = nodeCloned . querySelector ( "input[name='" + field . name + "'], textarea[name='" + field . name + "'], select[name='" + field . name + "']" ) ;
220+ const element = clonedNode . querySelector ( "input[name='" + field . name + "'], textarea[name='" + field . name + "'], select[name='" + field . name + "']" ) ;
221221 element ? element . value = field . value : null ;
222222 } ) ;
223223
224- this . helper = this . document . body . appendChild ( nodeCloned ) ;
224+ this . helper = this . document . body . appendChild ( clonedNode ) ;
225225
226226 this . helper . style . position = 'fixed' ;
227227 this . helper . style . top = `${ this . boundingClientRect . top - margin . top } px` ;
You can’t perform that action at this time.
0 commit comments