JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" value="1" disabled="disabled">
<input type="text" value="1" disabled="disabled">
<input type="text" value="1" disabled="disabled">
<input type="text" value="1">

JavaScript

$(document).on("click", "input", function () {
    console.log('click');
    $(this).prop('disabled', false);
});