This PowerApps Component Framework (PCF) component includes a textbox that allows entering and validating international telephone numbers. It adds a flag dropdown to any input, detects the user's country, displays a relevant placeholder and provides formatting/validation methods.
This component uses the following library. https://www.npmjs.com/package/intl-tel-input
Follow this article to setup your enviornment and install the component Solution package.