Skip to content

Commit 2a83564

Browse files
committed
Well this is embarissing...
1 parent 79a9a19 commit 2a83564

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/directives/schema-validate.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ angular.module('schemaForm').directive('schemaValidate', ['sfValidator', 'sfSele
6767
if (ngModel.$setDirty()) {
6868
ngModel.$setDirty();
6969
}
70-
validate();
71-
//}
70+
validate(ngModel.$viewValue);
7271
});
7372

7473
scope.schemaError = function() {

0 commit comments

Comments
 (0)