Hey, I\'m working on a web app that has a login dialog that works like this:
This will automatically enable autocomplete and save password in browsers.
autocomplete="on" (form)autocomplete="username" (input, email/username)autocomplete="current-password" (input, password)
Check out more at Apple's documentation: Enabling Password AutoFill on an HTML Input Element