JSFiddle - React, Tailwind, and code Playground
HTML
<select id="Units">
<option value="Marketing" > Marketing </option>
<option value="Finance" > Finance </option>
<option value="Operations" > Operations </option>
</select>
<input type="checkbox" class="dissable" onclick="check();" value="1" /> chbx1
<input type="checkbox" class="dissable" onclick="check();" value="2" /> chbx2
<input type="checkbox" class="dissable" onclick="check();" value="3" /> chbx3
<input type="checkbox" class="dissable" onclick="check();" value="4" /> chbx4
JavaScript
$("#Units").on("change", function () {
if ($(this).val() !== "Finance") {
$(".dissable[value='3']").prop("disabled", true);
$(".dissable[value='4']").prop("disabled", true);
} else {
$(".dissable[value='3']").prop("disabled", false);
$(".dissable[value='4']").prop("disabled", false);
}
}).trigger('change');