Closed ydedev closed 1 year ago
Hello, Sorry, but I don't understand your question. Could you rephrase in a simple maner it please?
In the readme description, the update:country event type value is CountryIso2, and the actual value obtained is a string.
OK. CountryIso2
is a type alias just representing a string of 2 chars.
See the following Typescript types.
Expected Behavior
get
CountryIso2 --Actual Behavior
get string
Steps to Reproduce the Problem
Events
Name | Type | Description -- | -- | -- update:modelValue | string | Emitted when the country or phone is updated with the E164 formatted phone number. update:country | CountryIso2 | Emitted when the country is updated with the selected country.Specifications
"v-phone-input": "^3.0.5", "vue": "^3.3.4", "vue-router": "^4.2.2", "vuetify": "^3.3.5",
Events Name Type Description update:modelValue string Emitted when the country or phone is updated with the E164 formatted phone number. update:country CountryIso2 Emitted when the country is updated with the selected country.