JSFiddle - React, Tailwind, and code Playground
HTML
<select id="dr1"></select>
<select id="dr2"></select>
JavaScript
//p.cloneNode(true)
elements = [
{'nombreCompleto':'1'},
{'nombreCompleto':'2'},
{'nombreCompleto':'3'},
{'nombreCompleto':'4'}
];
var dr1=document.getElementById("dr1");
var dr2=document.getElementById("dr2");
for (nombre in elements) {
var opcion=document.createElement('OPTION');
var cam=elements[nombre];
opcion.value=nombre;
opcion.text=cam["nombreCompleto"];
//Añadimos a los 2 dropdowns
dr2.add(opcion, null);
dr1.add(opcion.cloneNode(true), null);
}
dr1.selectedIndex=0;
dr2.selectedIndex=0;