Forums Forums Search & Filter Pro Using ACF select field for dropdown (label/value issue)

Viewing 10 posts - 1 through 10 (of 72 total)
  • Trevor
    #50541
    Anonymous
    #50543

    Hi Trevor,
    you could say it is related but it is not the same issue since he is using another type of field. My field situation is more simple, one could say. It is an ACF select field and I already see the values being displayed in my dropdown for the DB search but I want the labels to be shown, not the values. The funny thing is that it worked initially and just recently, after the update of your plugin it stopped working and now the values are displayed.
    Is there any simple work-around or a setting that I can make? Or maybe you can find out what was changed so that it does not work anymore like before?

    Trevor
    #50545

    I am unsure if something has been broken or what. Are you up to try a pre-release of the next version (2.2.0) and see if that fixes it? Send me your email by private reply if you want to try this.

    Anonymous
    #50549
    This reply has been marked as private.
    Trevor
    #50550

    Sent, let me know how you get on.

    Anonymous
    #54381

    Hi Trevor,

    it took we a really long time to get back to this because there were so many other things going on. Thanks for your support! Unfortunately the new version 2.2.0 does not resolve the issue!
    I still see only the value as options but not the labels of the custom field (select field for country). The select field does not change no matter of I choose “Label” or “Value” in the options of the Post Meta field.

    Any idea what to do?
    I am thinking about a jQuery workaround but love to find a clean solution that does not depend on JavaScript.

    Warm regards,
    Sebastian

    Trevor
    #54383

    Does your field look something like this:

    https://www.flickr.com/photos/142687274@N07/28634393170/in/dateposted-public/

    Or did you create the list with both value AND label (such as red: Red)?

    Anonymous
    #54384

    Hi Trevor,

    the field looks like this:
    afghanistan : Afghanistan
    albania : Albania
    algeria : Algeria
    american_samoa : American Samoa

    Trevor
    #54385

    Clearly our code needs improving/we must have broken something. We need to take a look again at the ACF and ACF Pro fields and do some work. It is some time since we last did that. Our dev, Ross, is away for about 10 days, but then I think we can spend some time focusing on what the issue is.

    Anonymous
    #54389

    Thanks for your honesty!
    It would be great if this could work just out of the box.

    I think ACF is amazing and if you support such things, it will definitely be a big plus!
    Otherwise I could build my own little things and work with GET variables to set up a simple database search but I love to have the option for later to do more complex searches once our database has more users. I trust your plugin can be a big helper in the future.

    For now I will fix it by applying a jQuery function that replaces underscores with a space and turns every lower case letter at the beginning of a word into a capital letter.

Viewing 10 posts - 1 through 10 (of 72 total)