Consider Using Localized Input Masks for 'Phone' and Other Restricted Inputs (64% Aren't Taking Advantage of Input Masking) – Articles – Baymard Institute
qt - How to make cursor of LineEdit thinner in the input mask mode? - Stack Overflow
GitHub - RedMadRobot/input-mask-ios: User input masking library repo.