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.
add a way to turn on objectEquality for internal watches from a directive or expression. #3790
Closed
Description
I have to clone all my array every time I add or remove an element, because I have a textarea that has it's ng-model set to that array and it compares the arrays by reference.
There doesn't appear any way for me to tell the ng-model to use objectEquality, short of rewriting the ng-model directive.
(anyone wondering why I have an array set for the ng-model, it's because I convert from array to text and back to array again using a custom directive [and no, ng-list is not powerful enough for my use case (unless ngList can use regex to compress a list into a tally of items)])
Metadata
Metadata
Assignees
Labels
No labels