Cloneable group inheriting values from previous group

Support MB Group Cloneable group inheriting values from previous group

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #7251
    chesapeakechesapeake
    Participant

    Hi there. I have set up a cloneable group with some of the options being hidden or shown depending on the values set within the group. All fine. When I come to add a new group however, the new group inherits all the values of the previous group. I can go through and overwrite them but it doesn't seem like the correct behaviour. Maybe I'm missing something? Is this a known issue?

    #7252
    grafikgrafik
    Participant

    Hey I think I'm having the same error as you, like this? see video http://grfk.co.nz/kVG2Pk

    #7257
    chesapeakechesapeake
    Participant

    Yep that's exactly the problem I'm having.

    #7259
    grafikgrafik
    Participant

    I must say as much as I use and like the metabox plugin, it's pretty frustrating having paid for it, yet getting such limited support.

    #7265
    Anh TranAnh Tran
    Keymaster

    Hi,

    Sorry for the late reply. I've been working on the documentation last week and couldn't fix the issue. I have replicated it on my localhost and will fix it as soon as I can.

    #7266
    chesapeakechesapeake
    Participant

    No problem and thanks for reply. Look forward to hearing about the fix.

    #7281
    nppnpp
    Participant

    Same issue here. It should reset the "conditions" set and duplicate the fields rather than "cloning" them. Also, the standard "field" param 'add_button' does not work for most/all fields.

    Say you have an image uploader and limit it to 1 upload, you'd want the button to say "Select an image", one would think 'add_button' => 'Select an image' should work in the field of the image uploader but it doesn't. But the "topmost" field works, so in my "group" and I have it cloneable, where this issue of this topic comes in, the button text can be changed.

    Iffy behaviour thought I should put it in here while you're looking at the other issue we have.

    #7313
    Anh TranAnh Tran
    Keymaster

    I've just fixed issue of not clearing image_advanced value when cloning a group. Can you please try it on your site to see if it works? I'll release new version when we confirm that.

    #7316
    chesapeakechesapeake
    Participant

    Hi Anh. That hasn't worked for me. It's still inheriting all the values from the previous group. I'm using Group in conjunction with Conditional Logic in order to show or hide fields. I don't know if that's part of the problem?

    #7344
    Anh TranAnh Tran
    Keymaster

    Can you please post your code here? I tried with some configurations and they worked. Probably I missed something.

    #7346
    chesapeakechesapeake
    Participant

    Sure. Sorry there's so much, but better you have it all:

    https://gist.github.com/rilwis/46fd5cdf262b9bcc7f7d9b906861796d

    #7370
    Anh TranAnh Tran
    Keymaster

    Hi again,

    I've just tried your code and it works properly. Have you tried the latest code on Github? (not on wordpress.org cause I haven't released new version yet)

    #7375
    chesapeakechesapeake
    Participant

    Thanks Anh. No it's still not working, even using the latest Metabox from Github. A new group is still inheriting values from a previous group. Screen recording:

    http://c1ce9b258d4e1762d5f5-4dda42150cf1c37413c2b10fc0ca74c7.r35.cf3.rackcdn.com/Screen-recordings/metabox.mov

    As you can see when I go to add the second group it inherits what came before, although not the image_advanced values anymore.

    #7418
    Anh TranAnh Tran
    Keymaster

    Ah, I got it. It's a different from the media field that I've resolved. This is a problem with Conditional Logic extension that doesn't refresh after cloning. I will check and fix it.

    #7422
    chesapeakechesapeake
    Participant

    Ok. Thanks Anh. I thought it may be something else.

Viewing 15 posts - 1 through 15 (of 19 total)
  • The topic ‘Cloneable group inheriting values from previous group’ is closed to new replies.