Skip to content

CollectionView reset event should use _removeChildModels  #3622

@paulfalgout

Description

@paulfalgout

It can iterate over the reset event's previousModels This prevents a collection.reset from removing customly added views.

We should also indicate that child view was created from a collection model rather than using this._children.findByModel to account for views added from a collectionview that do not have the collection's model. We should add a custom index so that we can find children by the custom index. All of this can be private API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions