JSFiddle - React, Tailwind, and code Playground
HTML
<li><input type="text" id="input1"></li>
<li><input type="text" id="input2" disabled></li>
JavaScript
$('#input1').change(function(){
if($.trim($(this).val()).length != 0){
$('#input2').prop('disabled', false);
}
});