Closed davidferlay closed 5 years ago
What do you propose for the generic icon? And do you really think that would be a better experience for the user?
If you want to default to the user's country, see initialCountry=auto setting.
Otherwise I think defaulting to the first country makes sense. It makes it clear what the input is for and how it works and shows the user they need to change it.
Hi @jackocnr , thanks for such a quick answer)
What do you propose for the generic icon?
I propose the globe icon from this opensource collection : https://feathericons.com/?query=globe
Do you really think that would be a better experience for the user?
I do but it's only my opinion and I don't want to impose anything. I'd be happy to see other users to express their opinion
If you want to default to the user's country, see initialCountry=auto setting.
Thanks for pointing this out, i had missed it and it can cover additional use cases (like here)
Otherwise I think defaulting to the first country makes sense. It makes it clear what the input is for and how it works and shows the user they need to change it.
It does make sense indeed. In my humble opinion, it should however exclude values defined by preferredCountries. Especially since it has default values. Maybe resolution of this issue should only amount to fixing that, what do you think ?
it should however exclude values defined by preferredCountries
Why? The preferredCountries setting is for you to specify the most likely option to your users - surely it makes sense to default to the most likely option rather than Afghanistan?
Especially since it has default values
If the default values don't work for you, you should update them!
Is there any way to disable preferredCountries default values @jackocnr ? Without passing any country code i mean
Yeah you should be able to pass an empty array. Does that solve your problem?
This might)
Initialisation options
make all
)Steps to reproduce
Observed result
Expected result
Questions