Currently I am working on a project that stores and retrieves phone numbers in AirTable. I was running into an issue with formatting the phone number correctly and I came up with a solution to format the phone number as you type in the text input.
Basically, every time the value changes, I strip out the non-number characters and then reformat the phone number in my desired format.
The following blocks format the number as: (###) ###-####
I also set the keyboard type to numeric and max-input length (advanced property) to 14.
Yes there are other (cleaner) ways to do this, but this gets the job done.