angular-scrollable-table icon indicating copy to clipboard operation
angular-scrollable-table copied to clipboard

The watch attribute doesn't work for complex objects

Open jdmarsh opened this issue 9 years ago • 1 comments

When using a complex object inside the watch attribute, changes don't get tracked. Suggest finding a suitable case where the third objectEquality argument should be set for $scope.$watch('rows',....

jdmarsh avatar Jan 09 '17 10:01 jdmarsh

Seems like a reasonable configuration. Could you put together a PR with an additional @watchOptions input with values shallow, collection, and deep ? Would that suffice?

alalonde avatar Jan 09 '17 19:01 alalonde