Live data from Hacker News

Building Better Country Selects

talysto.com

1–10 of 15 posts

Re: Building Better Country Selects

#3
I like the flags and extra search metadata however it does look quite big. My intial reaction was to scroll, not to press a button to find a country. Still better than the current one though. I'd love to see also a better country phone number selection which in a lot of cases does not even work as it should

Re: Building Better Country Selects

#4
I feel like the best solution is a custom dropdown, instead of a modal, modals rreally take you out of context, when you're editing a form, its a bit jarring to be thrown to a modal, the best country select in my opinion is what you've listed, but also it's in a dropdown.

Re: Building Better Country Selects

#6

yeah the standard country dropdown is basically a scrollathon from hell and nobody wants to play "find the united kingdom" when they're just trying to buy some socks real quick

It's a mess. Do I look in the list of frequently-selected countries and hope to find that we're still in there? Or look for UK? United Kingdom? Great Britain?

I've been foxed before in American forms where I'm forced to select UK but it shows up as GB, even though there is no GB in the list! Every time I come to fill out the form I look at what I did last year and go through the same anti-pattern.

Re: Building Better Country Selects

#7
> A full country list inside a native `` has several structural limitations:

> No filtering. Users cannot narrow the list by typing

But you can use an `` instead and add a ``[0] to it with the list of countries and you will be able to filter them by typing. Granted, it still has no full support (namely, firefox), but still that's much better than a `` with no filtering ability whatsoever.

Not sure why this is not more known, though, I've seen it just like a couple of times in the wild. Now, back to job searching...

[0] https://developer.mozilla.org/es/docs/Web/HTML/Reference/Ele...

Re: Building Better Country Selects

#9

> A full country list inside a native ` ` has several structural limitations: > No filtering. Users cannot narrow the list by typing But you can use an ` ` instead and add a ` `[0] to it with the list of countries and you will be able to filter them by typing. Granted, it still has no full support (namely, firefox), but still that's much better than a ` ` with no filtering ability whatsoever. Not sure why this is not…

In English: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

:)

Post reply on HN