You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of today, the country codes in the autocomplete-dropdown are sorted by iso and not the i18n values used to display the country.
Screen.Recording.2023-11-07.at.14.20.29.mov
Motivation
Make it easier and more logical for the user to look for country codes when scrolling through the dropdown. Going from A to Ø(sterrike) and then suddenly H(viterussland) is a tad confusing.
Example
The user would scroll through the list and find the country codes sorted alphabetically by the display names shown to the user, instead of the iso-value
Pitch
Seems like good UX.
The text was updated successfully, but these errors were encountered:
joakbjerk
changed the title
Sort country codes by display language
(PhoneNumber): Sort country codes by display language
Nov 7, 2023
Added a test for the issue
#2850
Not 100% sure about the actual fix yet 🤔
If someone else has a clue, please give it a go, and add a commit to
this branch 🙇
---
Update:
- This PR relies on PR #2863
- Fixes#2862 and #2850
Co-authored-by: Tobias Høegh <[email protected]>
🚀 Feature Proposal
As of today, the country codes in the autocomplete-dropdown are sorted by
iso
and not thei18n
values used to display the country.Screen.Recording.2023-11-07.at.14.20.29.mov
Motivation
Make it easier and more logical for the user to look for country codes when scrolling through the dropdown. Going from A to Ø(sterrike) and then suddenly H(viterussland) is a tad confusing.
Example
The user would scroll through the list and find the country codes sorted alphabetically by the display names shown to the user, instead of the
iso
-valuePitch
Seems like good UX.
The text was updated successfully, but these errors were encountered: