Incorrect Default Flag Display in Phone Input Component
Current Behavior: When using the stylesheet 'react-phone-input-2/lib/style.css', the component displays the first flag from the image set as the default when no country is selected. This is incorrect and can be misleading.
Expected Behavior: The component should display a neutral or generic icon when no country is selected.
Proposed Solution:
- Implement a generic icon (e.g., a globe) as the default display.
- Allow the option to select a custom default icon from a local image.
Hi, I'm facing a similar issue. I'm using the component in an admin dashboard to set users' phone numbers.
When users don't have a phone number, the icon shown is from the Caribbean Netherlands. Is there a current solution to this? I would like the input to display as empty instead.
Hi @Marius-Adam how you separate the country flag from the phone input?