Step-by-step guide for building a smooth number input — A typical flow for two-factor authentication is to use an application that will store a one-time code on a device that can be used in the application the user is trying to access. These apps include Google Authenticator, Authy, and many other options. This flow is widespread, and I’ve often…