Reset input field after 1 min from last typed character

Hi there, I need a solution for this, so think on this scenario. I have a form for user’s reset password with some inputs fields for password (old, new and confirmation), the user types into but don’t do any action (input field remain filled) and if for some reason he left the PC…for cases like this I want to perform an action, like reset the field after 1 min from the last typed character. How, using Livewire and JS maybe, can do this? Thanks in advance