Closed iampapagray closed 1 year ago
Hello @iampapagray,
Looks like you were browsing the v2
documentation. The v3
documentation is on the next branch.
According to the changelog, the onlyCountries
property has been renamed to includeCountries
.
You should use it as following:
<template>
<v-phone-input :include-countries="['FR', 'US']" />
</template>
Expected Behavior
From the docs, onlyCountries take an array of CountryIso2 (eg. GH). and this prod will be the only countries displayed
Actual Behavior
After i add this prop and array, the component is no longer shown.
Specifications
Can you provide an example on how to use this flag ?