JSFiddle - React, Tailwind, and code Playground

HTML

Double click the input to enable: 
<div ondblclick="document.getElementById('test').disabled=false;">
    <input type="text" id="test" value="asdf" disabled="disabled"></div>