JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" />
JavaScript
$('input')
.attr('disabled', true)
.attr('disabled', false)
;
<input type="text" />
$('input')
.attr('disabled', true)
.attr('disabled', false)
;