JSFiddle - React, Tailwind, and code Playground

HTML

<select id="comboBox">
    <option id="4">One</option>
    <option id="2">Two</option>
    <option id="1">Three</option>
    <option id="3">Four</option>
</select>
<button onclick="update();">Update Option</button>

JavaScript

function update(){
document.getElementById("comboBox").selectedIndex = document.getElementById('3').index;
}