JSFiddle - React, Tailwind, and code Playground
HTML
<div class = "label editable">
<label for="some-id">Label Here</label> <input id="some-id"/>
</div>
CSS
.disabled { color: #999; }
JavaScript
$('.label.editable').prop('readonly', true)