JSFiddle - React, Tailwind, and code Playground
by David Thomas
HTML
<select id="fld_1">
<option value="0">No accounts</option>
<option value="1">Presumably there's an account</option>
<option value="2">And maybe another account</option>
</select>
<select id="fld_2" disabled>
<option>One</option>
<option>Two</option>
<option>Three</option>
</select>
JavaScript
$('#fld_1').change(function(){
$('#fld_2').prop('disabled', $(this).val() == 0);
}).change();