How to get international telephone number into placeholder variable of plugin?

  • 0
    The site uses the plugin https://intl-tel-input.com/
    It dynamically displays without the country code in the input placeholder depending on the selected region.
    There is a wish of the customer to display input there in the format +123 11231231123.
    As far as I understand, you need to get the country code into variables depending on the selected flag,
    and placeholder and merge them at some stage.
    Or is there a better solution?
    P.S. I did not find the function to change the placeholder format in the plugin documentation.
    JavaScript Anonymous, Mar 14, 2019

  • 0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!