JSFiddle - React, Tailwind, and code Playground
HTML
<select id=a>
<option>1
<option>2
</select>
JavaScript
$("#a").attr("selectedIndex", -1)
<select id=a>
<option>1
<option>2
</select>
$("#a").attr("selectedIndex", -1)