JSFiddle - React, Tailwind, and code Playground
by Jaybles
HTML
<button id="tog">Toggle</button>
<input type="text" id="t1" value="xyz123" />
<input type="text" id="fake1" value="" class='fake' disabled/>
CSS
.fake{display:none}
JavaScript
$('#tog').click(function(){
$('input').toggle();
});