-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
State dropdown not showing exact match. WA = Delaware instead of Washington #20575
Comments
PR done #20605 |
See woocommerce/selectWoo#20 cc @claudiulodro Maybe we can get that update into 3.5? |
See my comment on woocommerce/selectWoo#20. We are going to need to make some sort of prioritization algorithm for the dropdown where things that start with the search phrase are higher up in the list than things that contain the search phrase in the middle. |
Thanks for review my PR and your valuable suggestions. Thanks. |
I'm closing this as it's part of the SelectWoo library. I think there could be an argument for either way. Ranking by the entered text is one way, but alphabetically like now is another. As you enter more text the matched options are reduced anyhow. When checkout is redesigned I expect we'll phase out select woo entirely but we'll see :) #needsdesign |
Describe the bug
If you head to checkout and start typing in a state like Washington, or use the abbreviation WA, you won't get Washington first. The same for other states I quickly tested, IN or MA won't show the exact matches first either.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Expected behavior
If you typed in WA you'd figure the state that exactly matches the first two letters would show up. The same happens for others like IN or MA.
The text was updated successfully, but these errors were encountered: