JSFiddle - React, Tailwind, and code Playground

by Terry Mun

HTML

<input type="text" value="Value here" disabled />

JavaScript

$(function (){
    $('input').prop({
        'disabled': false,
        'readonly': true
    });
});