Skip to content

Can't remove all items in repeatable group #312

@ashleykolodziej

Description

@ashleykolodziej

I have a repeatable group set up, and after adding a number of items, I can't delete the last remaining item. After I delete the second to last item, the remove buttons on the last item are disabled. Would it be possible to get an update to allow deleting all items?

I'm using the latest public version, but noticed the trunk version's remove function only checks for # of groups > 1 in the JS as well. https://github.com/WebDevStudios/CMB2/blob/trunk/js/cmb2.js#L552

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions