JSFiddle - React, Tailwind, and code Playground HTML <input type='password' /> JavaScript $('input:password').prop('type','text');