JSFiddle - React, Tailwind, and code Playground

by warlock5658

HTML

<input type="text" />

JavaScript

$(function () {
   $('input[type="text"]').prop('disabled', true); 
});