Duplicate group fields feature

Support MB Group Duplicate group fields feature

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #14706
    woorisewoorise
    Participant

    I have some group fields that include dropdowns with a lot of choices. Users can make multiple selections. Most of the selections are repeatable so it would be useful if users could duplicate the group and start from there.

    #14723
    Anh TranAnh Tran
    Keymaster

    Do you mean duplicate a group in the MB Builder?

    #14725
    woorisewoorise
    Participant

    I don't use MB Builder. I mean the clonable (repeatable) field.

    User has the option to create a new clone field using the button (empty fields options) but it would be useful if also has the option to duplicate a clone field with the existing options.

    #14728
    Anh TranAnh Tran
    Keymaster

    I got it.

    There is a settings clone_default for each field if you want to clone default values. You can set the default value for the whole group (which is an array of default values for sub-fields). Then when cloning, these values will be selected automatically.

    For user-selected options, they will be cleared when cloning. It's the design at first, since it makes the new clone clean and easy to start entering new values.

    #14729
    woorisewoorise
    Participant

    I am talking for the second part, for user-selected options. There are times where there a lot of repeatable data (like in my case) where user selects almost the same options. In these cases they could duplicate an existing clone field and edit it without the need of selecting all the options again.

    #14745
    Anh TranAnh Tran
    Keymaster

    I see. That's an opinion. Some people want to start over again to select different options for the new clone. And the existing values might take them a lot of time deleting unnecessary values, especially the group has cloneable sub-groups.

    Each option will have pros and cons. It's a choice that we made from the beginning, and changing it won't be a reasonable solution for now.

    #14766
    woorisewoorise
    Participant

    I don't mean to change the default behavior of the button but to add a "Duplicate" option like the "Remove" option you have now (although in that case it will be better to use icons in the right top corner, one icon for removing and one icon for duplicating).

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