Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Improve support for collections in ngModelController #7203

Closed
@groner

Description

@groner

Writing directives to handle input of collections (lists or objects) is currently not very well supported because ngModelController uses identity tests to determine if the model or view value changes.

Adding a collection watch mode to ngModelController would allow for more robust input directives such as checkbox lists to work without having to do things like creating new lists on every update or monkey patching the ngModelController instance.

This issue has come up a few times, but the only place I could find it yesterday was in #2553, which is closed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions