Username input autofill

Hello,

Im doing a login screen in perspective where user inputs a username and password which i then validate using script.. The login account is not the same as for the Ignition itself (thats why Im not using the normal Ignition login screen).

I use a textfield for the username and password field for the password. Chrome understands its a password field so it autofills the password if I have saved it. But it doesnt autofill (or even remember) the username. Is there some smart way to make it happen?

I have experimented with editing the output HTML file. If I add name="username" it atleast suggest emails or something. That would be enough i think. But i dont know how to add it trough Ignition and not just manually in Chrome DevTools. Is it possible to do it?

Thank you