Coder Social home page Coder Social logo

Comments (16)

nlemoine avatar nlemoine commented on June 8, 2024 3

Hi ACF-country users,

I'm thinking about removing flags images in favor of emoji flags: lighter, removing a dependency, no more select2 issues, etc.

What do you think about it?

from acf-country.

nlemoine avatar nlemoine commented on June 8, 2024 1

Looks like emoji flags are dead 😢

https://blog.unicode.org/2022/03/the-past-and-future-of-flag-emoji.html

That's a shame and a bad coincidence, a few after days after I almost finished writing a new version with emoji flags...

from acf-country.

nlemoine avatar nlemoine commented on June 8, 2024 1

@EmmanuelBeziat However, countries doesn't disappear or show up every morning (although the recent events may remind us that borders are not that set in stone 😞)

I think I'll still push this new update soon.

from acf-country.

nlemoine avatar nlemoine commented on June 8, 2024 1

Finally got a project where I needed to use ACF Country so I decided to give it an update.

You can try it here: https://github.com/nlemoine/acf-country/tree/3.x

I finally went for using emojis flags although they're pretty dead but it provides the huge benefit of ending those Select2 issues. It's also lightweight and faster to show since you can display flags without the need to even use Select2.

Note that it's ACF 6 compatible for now, at least if you use ACF UI.

from acf-country.

nlemoine avatar nlemoine commented on June 8, 2024

Hello @dbrabyn

I'm not able to reproduce your bug. Do you have other plugins activated on your site? Maybe another plugin is loading a different version of select2. Try deactivating other plugins.

from acf-country.

stirrell avatar stirrell commented on June 8, 2024

I was just having the same issue. In my case, the culprit was WooCommerce. Toggling WooCommerce causes this issue to go away/come back.

from acf-country.

dbrabyn avatar dbrabyn commented on June 8, 2024

Yep, WooCommerce is loading plugins/woocommerce/assets/js/select2/select2.full.min.js?ver=4.0.3 which is really selectWoo, "a fork of select2 with improved accessibility".

from acf-country.

zuperuser avatar zuperuser commented on June 8, 2024

Having the same issue.
WPML is loading select2 too (and I can't de-activate this plugin...).
How can we solve this problem?

from acf-country.

nlemoine avatar nlemoine commented on June 8, 2024

https://www.advancedcustomfields.com/blog/acf-5-10-release-html-escaping-blocks-api-v2-block-preloading-and-more/

A new version of ACF has been released:

Update: We’ve also pushed out version 5.10.1, which includes a fix for a conflict with WooCommerce’s SelectWoo library.

Can you tell if that fixes the issue?

from acf-country.

dbrabyn avatar dbrabyn commented on June 8, 2024

I'm still seeing it with ACF Pro 5.10.1.

from acf-country.

zuperuser avatar zuperuser commented on June 8, 2024

Same here; still HTML in the dropdowns...

from acf-country.

lgladdy avatar lgladdy commented on June 8, 2024

Hey everyone,

This should be resolved in ACF 5.10.2, but please let me know if not!

It seems to be working okay for me now. Try clearing your browser caches if you still have issues.

Screenshot 2021-09-01 at 13 51 20

from acf-country.

dbrabyn avatar dbrabyn commented on June 8, 2024

Still there for me.

from acf-country.

zuperuser avatar zuperuser commented on June 8, 2024

ACF 5.10.2 solved it for me.
BTW: emoji flags are a good idea!

from acf-country.

hercilioseox avatar hercilioseox commented on June 8, 2024

Hey there. Just found the same issue.
ACF: 5.11.4
WooCommerce: 6.1.1
ACF Country: 2.0.2

The emoji flags idea looks great. Please let us know when we can test it.

from acf-country.

EmmanuelBeziat avatar EmmanuelBeziat commented on June 8, 2024

Looks like emoji flags are dead 😢

Ah dang, I was just coming to say I have the bug too (WP 6.0 / ACF 5.11 / WooCommerce 6.5.1), and that emojis was an awesome idea.

Too bad :(

from acf-country.

Related Issues (20)

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.