JSFiddle - React, Tailwind, and code Playground
by wirey00
HTML
<input type="checkbox" name="chb" class="optionChk" value="check me" checked="checked">
<input type="submit" name="submit" value="submit">
JavaScript
$(".optionChk").on("change", function () {
$("input[type=submit]").prop("disabled",!this.checked);
});