JSFiddle - React, Tailwind, and code Playground
by Neal
HTML
Fill this before you continue:
<input id="a" />
<br>
<br>
Fill this after the previous input
<input id="b" disabled="disabled" />
JavaScript
$('#a').on('change keyup mouseout', function() {
$('#b').prop('disabled', this.value === "");
});