JSFiddle - React, Tailwind, and code Playground
HTML
<select>
<option class="hide">Hide me</option>
<option>visible option</option>
</select>
JavaScript
// try to hide the first option
$('option.hide').hide();
// to select the first visible option
$('option:visible').first().attr('selected', 'selected');