Removing last cloneable group

Support MB Group Removing last cloneable groupResolved

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #21159
    Steve SchmidtSteve Schmidt
    Participant

    Is it possible to make a single group in a clonable set of groups removable? I'd like the UI to be cleaner such that if there's no items of a certain type for a post it simply is empty with a button to add one, instead of empty fields. Likewise if I need to remove an entry I can remove all of them except the last one, at which point the end user needs to erase all the data.

    #21162
    Long NguyenLong Nguyen
    Moderator

    Hi,

    I’d like the UI to be cleaner such that if there are no items of a certain type for a post, it simply is empty with a button to add one, instead of empty fields

    I think you can use the extension MB Conditional Logic to show fields if it has a condition to show.
    https://metabox.io/plugins/meta-box-conditional-logic/

    I need to remove an entry I can remove all of them except the last one, at which point the end-user needs to erase all the data

    Thanks for your idea, I'm going to create a feature request to support a button to remove all cloneable fields and keep the last one.

    #21167
    Steve SchmidtSteve Schmidt
    Participant

    I can see that being useful but not entirely what I was after. ACF actually does this pretty well, you can erase all the clones so there's 0 on screen and it only has a button to add a row, so if there's 0 of something there's also 0 visible rows in the backend. It seems in MB.IO there's always one clone minimum visible. So the request would be the ability to just have 0 fields visible except a button to add clones as needed, and once that's possible we'd be able to remove the final row in a set the same way we can remove the rest.

    #21176
    Long NguyenLong Nguyen
    Moderator

    Thanks for the feedback, I will note all ideas into the request and assign to the developer team to improve the cloneable field.

    Have a good day.

    #22221
    dev@kijo.co[email protected]
    Participant

    Was this feature ever added? I am having an issue whereby i have no items for a post but when i save it creates an empty group / cloned set of fields. Thanks

    #22647
    jacekjacek
    Participant

    Yep, I'm waiting for it too.

    #27439
    David RisleyDavid Risley
    Participant

    This is really needed. There seems to be no way to have a field group which has zero entries, or am I missing something? What if you want to use a field group for a log, but yet it is possible to not have any log entries yet?

    #27440
    David RisleyDavid Risley
    Participant

    Alright, yeah, unfortunately, I'm going to have to stick with ACF until you guys can fix this simple issue. What I need is for the group functionality to work just like the repeater field in ACF. And, in ACF, you can easily remove every row as well as have ZERO rows. But, with Metabox, it seems as if it is impossible to delete a row if you only have one. That is a really WEIRD limitation to build into the interface.

    Please fix this. Seems so simple.

    To be honest, the interface for this should be similar to the field builder when adding sub-fields in a group. It works beautifully. Nice icons for expansion, and a clear trash button to delete a sub-field. Also, white background to make it all look good.

    Do that for group fields, too. It is sorely needed.

    #28481
    Fabian MossbergFabian Mossberg
    Participant

    Any updates on this?

    It's very annoying to have to keep one item, and delete all it's content.

    I want to be able to remove all items in the list, so that only the button is there. If i click it, the first item should be created.

    #37115
    ambrdigitalambrdigital
    Participant

    Agreed, really could use this feature for a number of projects. Don't want to have an empty group if I don't need it. Thanks

    #43938
    CodogCodog
    Participant

    I second this! It is really annoying to have an outstanding single cloned group with empty fields. Any updates on this? Clearly a wanted feature!

    #43996
    tilen.stilen.s
    Participant

    Anything on this one?

    #44946
    mingjian.limingjian.li
    Participant

    I too am just discovering that deleting the last item is not possible šŸ™

    #45513
    SolaceSolace
    Participant

    It's been almost 5 years, any update on this yet?

    #46174
    Anh TranAnh Tran
    Keymaster

    It's done and will be released in the next version of Meta Box.

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