Open
Description
I'm using react-phone-input-2 and noticed an issue with the country search functionality. When I search for a country (e.g., typing "M"), the results do not prioritize countries that start with the search value. Instead, all countries containing the search value (anywhere in the name) are shown in no particular order.
Expected Behavior:
Countries whose names start with the search value (e.g., "M") should appear first in the search results.
Other countries containing the search value should follow.
Metadata
Assignees
Labels
No labels
Activity