Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Default Flag Display in Phone Input Component #688

Open
dvdcpp opened this issue Jul 18, 2024 · 0 comments
Open

Incorrect Default Flag Display in Phone Input Component #688

dvdcpp opened this issue Jul 18, 2024 · 0 comments

Comments

@dvdcpp
Copy link

dvdcpp commented Jul 18, 2024

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.

image

image

Expected Behavior:
The component should display a neutral or generic icon when no country is selected.

Proposed Solution:

  1. Implement a generic icon (e.g., a globe) as the default display.
  2. Allow the option to select a custom default icon from a local image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant