Conditional visibility not working as expected

Support MB Conditional Logic Conditional visibility not working as expectedResolved

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #43044
    MarcoMarco
    Participant

    Hi.

    Basically, there is a group that is not hiding when inside of this group there is a switch = 1. When the nested switch is = 0, it is working as expected.

    You can see in the video what I mean.

    You can also find the JSON in the comments of the video.

    Thank you!

    #43063
    PeterPeter
    Moderator

    Hello,

    I do not see the video URL in your comment. Can you please recheck this?

    #43070
    MarcoMarco
    Participant

    Sorry, my bad.
    Here it is
    https://repo.slwly.xyz/recordings/P9S2MU4uVFyqhBylbfEt

    #43078
    PeterPeter
    Moderator

    Hello,

    Please export the field group to a JSON file and share it here, I will check this on my local site. Read more in the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import

    #43087
    MarcoMarco
    Participant

    Here it is.
    Download

    #43164
    MarcoMarco
    Participant

    Hello

    Some news on that?

    #43173
    PeterPeter
    Moderator

    Hello Marco,

    After making some tests, if I change the field ID event_with_categories to a unique one like event_with_categories1 then the conditional logic works properly. Can you please confirm this?

    It might happen because the group field has the similar/wrapper ID as this radio field group_event_with_categories.

    #43179
    MarcoMarco
    Participant

    Yes. I can confirm that is working if I add "1! at the end.

    My solution at the end was nest also the group in the conditional logic group_event_with_categories_event_with_categories

    Like that is also working as expected.

    You will mark that like a bug?

    Thank You

    #43207
    PeterPeter
    Moderator

    Yes, I've escalated this issue to the development team to improve the case of the subfield and group field having a similar field ID. Thank you.

    #43217
    MarcoMarco
    Participant

    Happy to hear that.
    Thank you

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.