JSFiddle - React, Tailwind, and code Playground
HTML
<script>
function Tiempo(){
var input = document.getElementById("AutoUser")[0],
intervalo,
disabled = function(){
return setTimeout(function(){
Desactivar();
}, 1500);
};
input.addEventListener("keyup", function(){
clearInterval(intervalo);
intervalo = disabled();
}, false);
}
function Desactivar(){
document.getElementById("AutoUser").disabled = true;
// MAS FUNCIONES AQUÍ
}
</script>
Campo Uno: <input type = "text" id="AutoUser" onKeyUp="Tiempo();" />
<br>Otro Campo que no me interesa: <input type = "text" />
CSS
input{
width: 15em;
}