LouisMazel / vue-phone-number-input

A phone number input made with Vue JS (format & valid phone number)

Home Page:https://louismazel.github.io/vue-phone-number-input

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overseas departments and regions of France not working

kissu opened this issue · comments

Describe the bug

I've entered pretty much all the ISO 3166-1 alpha-2 codes that vue-phone-number-input relies on after checking the libphonenumber-js this lib relies on.

Steps to reproduce

So, I do have

<phone-number-input
  :only-countries="['FR', 'BL', 'GF', 'GP', 'MF', 'MQ', 'NC', 'PF', 'PM', 'RE', 'TF', 'WF', 'YT']"
></phone-number-input>

Expected behavior

Expected it to work but it crashes and I don't even know from where.

Screenshots

image

Device (please complete the following information)

  • OS: Ubuntu 19.10
  • Browser: Chrome 88
  • Package version: vue-phone-number-input@^1.1.10

Alright, after some bakka debugging, I found out that TF is not working aka French Southern Territories. Not the end of the world, but still buggy for some reason. Works will all but this one, so I'll close the issue since I'm fine without it.