Amunak
released this
29 May 08:39
further improves collections, fixes naming issues
The class that marks collection childs for removal was renamed to more descriptive 'remove-on-collection-add' (from 'no-data') and now applies to any child element (not justt direct children).
Collection items' ID is now decided by trying all numbers before one "slot" is free. This should fix all issues with items overwriting one another (inspired by Bootstrap's collection code: https://github.com/braincrafted/bootstrap-bundle/blob/v2.1.2/Resources/js/bc-bootstrap-collection.js#L42-L50).