Skip to content

ObservableArray does not provide removed items through EventData when an UPDATE action occurs #1142

@ginev

Description

@ginev

Here's a snippet from ObservableArray.js:

     ObservableArray.prototype.setItem = function (index, value) {
        this._array[index] = value;
        this.notify({
            eventName: CHANGE, object: this,
            action: ChangeType.Update,
            index: index,
            removed: new Array(1),
            addedCount: 1
        });
    };

The following line: removed: new Array(1) is the one I am talking about.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions