I have an issue with the 'Add another item' button at the bottom of the flexifield group in which clicking it adds another sub-field to one or more of the fields within the flexifield instead of adding a new group.
For example:
Galleries:
Gallery 1:
Description
Photos:
Photo 1
Photo 2
(Add another item)
Gallery 2:
Description
Photos:
Photo 1
(Add another item)
(Add another item)
When clicking the last 'Add another item' button above to add a 'Gallery 3', 'Photo 2' is instead added to 'Gallery 2'. Clicking it more adds more 'Photo's to the 2nd Gallery and doesn't add 'Gallery 3' at all...
Help!
I wasn't sure if this was related to #630328: 'Add another item' breaks autocomplete fields in a FlexiField or not, so I started a new issue just in case...
Comments
Comment #1
Anonymous (not verified) commentedAnyone able to assist with this? I've looked through the code but can't work out what the problem is...
Comment #2
1100Broadway commentedI'm having the same issue and would be interested to know how to fix.
For now... I disabled the button by doing a display: none: on the button class. So the user can only add one at a time by saving after populating a new set. Cumbersome... but still effective.