Focusing inputs dynamically added to LiveView form?

You’re welcome. Sometimes the solution is too efficient that I also have doubts it should be working so well.

Do consider the window event listener method though as it allows for granular control in more dynamic work flows, for example if you want to focus different inputs without complex logic to mutate your templates, and it’s efficient as the pushed event is sent in the same payload to the client. It also ties in nicely with client-only manipulation from click and key events through JS.dispatch.