country-region-selector icon indicating copy to clipboard operation
country-region-selector copied to clipboard

Blacklist Region - Puerto Rico

Open brentlblair opened this issue 6 years ago • 2 comments

Puerto Rico is listed as a country and a region under the US. I'm not sure if this should be changed in the data file, or if some users might have a reason to use both variations. We are using this for export purposes, so we only want the country of Puerto Rico listed, and not the state under the US. Would it be possible to add the ability to blacklist a specific region in a country? I have already removed it from my data file, but I am looking at a better solution for when there are updates released in the future.

brentlblair avatar Jan 24 '18 19:01 brentlblair

The data file is based off of the ISO3166 standard, and that does have these two definitions for Puerto Rico.

Any fix would probably need to be a variation of blacklisting regions, and not "fixing" the data ☹️

ellenhutchings avatar May 02 '18 04:05 ellenhutchings

That is what I was trying to ask for. I wanted the ability to blacklist regions in a country, so that I don't have to touch the data file.

brentlblair avatar Oct 01 '18 18:10 brentlblair