Giter Club home page Giter Club logo

Comments (4)

drivardxrm avatar drivardxrm commented on July 18, 2024

@bwmodular you are right, I noticed that too regarding UK, the name seems odd to me.

The service used to fetch the countries is RestCountries v2 of the API (They are on v3 now but I never updated the control), i'm afraid of breaking changes to current users of the control.

If you check at the output for UK in API v2, "United Kingdom of Great Britain and Northern Ireland" is the name that they give. I see that the 'native name' could be used but this would break for other countries.

image

On the other hand, if I look at the v3 output, they give the common name and the long name
I get this for UK
image

I think I will make the switch soon to v3 and put a disclaimer for existing users

Thanks for your feedback

from countrypicker.pcf.

bwmodular avatar bwmodular commented on July 18, 2024

Thanks for the response David, much appreciated. I look forward to the v3 upgrade, whenever it happens.... :-)

from countrypicker.pcf.

drivardxrm avatar drivardxrm commented on July 18, 2024

Hi @bwmodular
I finally found some time to upgrade the control to the latest version of the Rest Countries API

You"ll be happy to find a more decent rendering for the UK ;)
image

from countrypicker.pcf.

bwmodular avatar bwmodular commented on July 18, 2024

Wonderful, thanks for doing this, and thanks for letting me know.

Best wishes,
Ben

from countrypicker.pcf.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.