Angular Material: How to Autoformat International Phone Numbers in an Input Field In some online forms, you might need users to enter a phone number. Wouldn't it be great if your Angular application formatted that phone number on the fly?