I am developing a laravel project with vue js components. I am using EducationLink/vue-tel-input for phone input. I dont want to display the formatted number in input field. so i add prop :disabledFormatting as false. but i want the formated number. how can i get it ?? Please help me..
i use onInput function as
onInput(formattedNumber, { number, isValid, country, international }) {
this.phone.number = number;
this.phone.isValid = isValid;
this.phone.country = country && country.name;
this.phone.formattedNumber = formattedNumber;
},
But when i console this.phone.formattedNumber it will give the normal number. i want a number like +91 1234 567 890 this but i got 1234567890. i am using "vue-tel-input": "^3.0.0"
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire