Show selected dial code option
Display the country's international dial code next to the selected flag. Play with this option on Storybook (using the React component).
Demo
Markup
<input id="phone" type="tel">
Code
const input = document.querySelector("#phone");
window.intlTelInput(input, {
initialCountry: "us",
showSelectedDialCode: true,
utilsScript: "/intl-tel-input/js/utils.js?1714308177587" // just for formatting/placeholders etc
});