Skip to content

Commit eb0e2c8

Browse files
committed
gulped
1 parent e426470 commit eb0e2c8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

dist/schema-form.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,11 @@ angular.module('schemaForm').directive('sfArray', ['sfSelect', 'schemaForm', 'sf
10891089
if (scope.validateArray) {
10901090
scope.validateArray();
10911091
}
1092-
ngModel.$setDirty();
1092+
1093+
// Angular 1.2 lacks setDirty
1094+
if (ngModel.$setDirty) {
1095+
ngModel.$setDirty();
1096+
}
10931097
return list;
10941098
};
10951099

0 commit comments

Comments
 (0)