I made a small example to show how it works, a backup example is attached.
In a nutshell, you need to add ViewChield inclusion to the page
for input, add an attribute that starts with a hash
create a variable with the same name @ViewChild("focusinput") focusinput and type any
and to set focus call the code
And to track the input click, you just need to add an event (keyup.enter) and specify the name of the function to call and set the focus for the second input there
I did this on the code page, but you can do it using the event panel