JSFiddle - React, Tailwind, and code Playground
HTML
<select id="sel">
<option value="1">1</option>
<option value="2">2</option>
</select>
JavaScript
var sel = document.getElementById('sel');
console.log( sel.options[sel.selectedIndex].value );
console.log( sel.value );