diff --git a/components/PhoneInputDemo.vue b/components/PhoneInputDemo.vue index a8eb90a..1014729 100644 --- a/components/PhoneInputDemo.vue +++ b/components/PhoneInputDemo.vue @@ -2,7 +2,7 @@
Phone: {{ phoneNumber }}
-Valid: {{ phoneData?.isValid ? '✅' : '❌' }}
-Country: {{ phoneData?.country?.name }} {{ getCountryFlag(phoneData?.country?.iso2) }}
-Format: International
+Number: {{ phoneNumber }}
Valid: {{ phoneData?.isValid ? '✅ Valid' : '❌ Invalid' }}
+Country: {{ phoneData?.country?.name }} ({{ phoneData?.country?.iso2 }})
+Dial Code: {{ phoneData?.country?.dialCode }}