JSFiddle - React, Tailwind, and code Playground

by Alexander Zonov

HTML

<input type="text" class="disabled" placeholder="temporary disabled, wait 5 sec">

CSS

input.disabled {
  pointer-events: none;
  
}

input {
  width: 300px;
}

JavaScript

// add this into constructor of your plugin, without timeout of course
setTimeout(function() {
	$('input.disabled').removeClass('disabled');
  
  
  // without this, it is here for demo purposes
  $('input').attr('placeholder', 'now enabled');
  document.documentElement.append('NOW IT IS AVAILABLE FOR EDITING')
}, 5000);