Conditional Logic not hidden in collapsible group.

Support MB Conditional Logic Conditional Logic not hidden in collapsible group.Resolved

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #8313
    wptriadwptriad
    Participant

    If a field with a conditional logic is displayed when the condition is true, when you collapse its parent group, it won't be hidden because its inline styles override CSS rules of the collapsible group.

    When expanded: https://imgur.com/UfXdcLY
    When collapse: https://imgur.com/jCFhxnZ

    Hope you will find time to fix this.
    Thanks.

    #8314
    wptriadwptriad
    Participant

    I just found 2 more issues:

    - When click "Add more" button to add a new group, the "Categories Select" field will be hidden (although the condition stays true). The "Categories Select" field is a conditional field of the button group above.

    - When click "Update" to update post, the button group "Posts Source" of the second last group (second group from bottom) isn't saved (it's kind of a value reset because the value has been saved before).

    Below is the code for registering meta boxes:

    https://pastebin.com/sZWP3rrd

    #8433
    wptriadwptriad
    Participant

    With latest update, the first issue is gone. For the 2nd and 3rd issue, I think it's the button group's bug, since when I change to a dropdown select there's no problem.

    #8454
    Anh TranAnh Tran
    Keymaster

    Hello, can you describe the steps you get the bugs 2 and 3?

    #8460
    nppnpp
    Participant

    I believe https://support.metabox.io/topic/conditional-logic-not-working-with-clones-in-groups/ is related to this issue as well

    #8461
    wptriadwptriad
    Participant

    Here's the steps: https://imgur.com/rL6N1dt

    Here's the code for registering meta boxes: https://pastebin.com/kwbmKaLV

    I also tested the image_select field and it kind of had the same bugs.

    #8479
    Anh TranAnh Tran
    Keymaster

    Hi, I've just tested the code. Sometimes the bug occurs, sometimes doesn't. I'll keep tracking on that.

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