We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13a885a commit f91e245Copy full SHA for f91e245
1 file changed
src/angular-validation-match.js
@@ -9,7 +9,7 @@ function match ($parse) {
9
require: '?ngModel',
10
restrict: 'A',
11
link: function(scope, elem, attrs, ctrl) {
12
- if(!ctrl) {
+ if(!ctrl || !attrs.match) {
13
return;
14
}
15
0 commit comments