P
P
Peter_key2020-10-19 08:47:02
JavaScript
Peter_key, 2020-10-19 08:47:02

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

The site uses the plugin https://intl-tel-input.com/
It dynamically displays in the input placeholder without a country code 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 in variables depending on the selected flag,
and the placeholder and combine them at some stage.
Or is there a more rational solution?
P.S. I did not find the function to change the placeholder format in the plugin documentation.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question