Skip to content
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.

$watch on the form field object not triggered correctly in the valdrMessage directive #89

Merged
merged 1 commit into from
Aug 11, 2015

Conversation

mmatczak
Copy link

$watch on the form field object is not triggered correctly in the valdrMessage directive. The reason for that is the name of the property ('$error'). Because the 3rd argument of the $scope.$watch is set (equals = true), the angular.equals is triggered which ignores properties starting with '$'.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants