vue-tel-input
vue-tel-input copied to clipboard
dynamicPlaceholder prop missing
Hi,
It looks dynamicPlaceholder
prop from version 4 and older is missing in version 5 and newer. Any replacements?
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.
I am missing this too.