JSFiddle - React, Tailwind, and code Playground

HTML

<div onclick="$('#M1').removeAttr('disabled')">
    <input id="M1" disabled/>
</div>