Close

Account

Documentation

Forum

Menu

Problem with Select2 on Advanced Custom Fields Pro plugin

  • Post count: 1
    mcwolf
    November 29, 2017 at 9:22 pm #26227

    Hi.
    I’ve encountered a problem while using your theme along with Advanced Custom Fields Pro plugin. When I choose Relationship, Post Object or Post link, I’m unable to choose Filter by Post Type or Filter by Taxonomy options. The problem seems to be, Select2 used in ACF plugin beeing drawn way below and offset of actual backend view content. You can see it on screen below:
    Error
    It also doesn’t work on accual add/edit page.
    When I change to the default Twenty Seventeen theme everything works fine:
    This is fine
    So, I guess, Your theme must affect somehow way the Select2 is drawn.
    My WordPress version is 4.9, AFC Pro version is 5.6.6, JNews also dowloaded yesterday, so newest.
    This Relationship feature in ACF is crucial to my website, can you help me fixing your theme?

    Post count: 9205
    Adek
    November 30, 2017 at 10:45 am #26267

    Hi mcwolf,

    Thanks for your detail info. Please try to replace this file /jnews/assets/js/vendor/select2.min.js with this one https://raw.githubusercontent.com/select2/select2/master/dist/js/select2.full.min.js and don’t forget to clear your browser cache after you have finished making that changes.

    Thank you

    Post count: 1
    mcwolf
    November 30, 2017 at 4:50 pm #26280

    Thanks, that fixed it!

    Post count: 9205
    Adek
    November 30, 2017 at 5:52 pm #26283

    Glad to hear that 😀

    Thank you

You must be logged in to reply to this topic.