vue-tel-input icon indicating copy to clipboard operation
vue-tel-input copied to clipboard

dynamicPlaceholder prop missing

Open ipa1981 opened this issue 3 years ago • 2 comments

Hi,

It looks dynamicPlaceholder prop from version 4 and older is missing in version 5 and newer. Any replacements?

ipa1981 avatar Mar 14 '21 14:03 ipa1981

It seems to be removed in this commit:

https://github.com/EducationLink/vue-tel-input/commit/fc5b78bb6649cdea7769afa8793eff69a05ca471

I do not really know why they did this. Maybe because of the difficulties for more examples (https://github.com/EducationLink/vue-tel-input/issues/176)

I suggest that you take the code from the above commit into a :placeholder that may work.

You can listen to https://educationlink.github.io/vue-tel-input/documentation/events.html#country-changed-countryobject-object event in order to update your placeholder.

homersimpsons avatar Apr 06 '21 09:04 homersimpsons

I am missing this too.

Daniel4Digital avatar May 19 '21 12:05 Daniel4Digital