Auto-detect brand of card

The brand (VISA, MasterCard, Discover) can be auto-detected by using a regex.

There is also an open source project that aims to do exactly this in JavaScript, which may be helpful.

I think this should be implemented in the edit time. When the user have not yet selected a card brand, it auto-detects from the card number.

I’m surprised it’s not implemented - it’s trivial and LastPass has it.