Country Code Netherlands Antilles 'AN' Not Working
See original GitHub issueFirst - thank you for this component. Very impressive and very helpful. I believe a country code is missing but I am unable to find where in the code the culprit might be. Setting the props - country, countries, and countryOptions to ’ AN’ the component fails to render a flag and in general causes other issues. Here is the component declaration for reference:
```
<PhoneInput
value={this.getCellPhone()}
id=‘input-cell’
name=‘input-cell’
ref=‘cellPhone’
international={false}
countries={[‘AN’]}
countryOptions={[‘AN’]}
country={‘AN’}
onChange={this.phoneInputChange.bind(this)}
/>
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Netherlands Antilles dissolved as per 10-10-10, how to ...
The Netherlands Antilles were officially assigned the ISO 3166-1 alpha-2 code AN before it was dissolved into five separate territories in 2010, ...
Read more >Netherlands Antilles Country Code +599
This page details Netherlands Antilles phone code. The Netherlands Antilles country code 599 will allow you to call Netherlands Antilles from another country....
Read more >AN - Netherlands Antilles
The Netherlands Antilles was divided into Bonaire, Saint Eustatius and Saba (BQ, BES, 535), Curaçao (CW, CUW, 531) and Sint Maarten (Dutch part)...
Read more >Telephone numbers in Curaçao and the Caribbean ...
The country code +599 was assigned to the Netherlands Antilles (dissolved in 2010), and is now in use by Curaçao and the Caribbean...
Read more >UPDATE TO THE USE OF THE NETHERLANDS ...
The country code "AN" standing for Netherlands Antilles has been replaced by Curacao (CW), Sint Maarten, Dutch Part (SX) and Bonaire, Sint Eustatius...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Will do - thank you for your help.
Released
react-phone-number-input@2.2.3
which throws if country is not found in metadata.