Skip to content

Commit 52816d3

Browse files
committed
Merge branch 'issue-102' of https://github.com/qstrahl/angular-schema-form into qstrahl-issue-102
2 parents d2c32f8 + e5a114e commit 52816d3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dist/schema-form.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,6 +1089,7 @@ angular.module('schemaForm').directive('sfArray', ['sfSelect', 'schemaForm', 'sf
10891089
if (scope.validateArray) {
10901090
scope.validateArray();
10911091
}
1092+
ngModel.$setDirty();
10921093
return list;
10931094
};
10941095

src/directives/array.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ angular.module('schemaForm').directive('sfArray', ['sfSelect', 'schemaForm', 'sf
130130
if (scope.validateArray) {
131131
scope.validateArray();
132132
}
133+
ngModel.$setDirty();
133134
return list;
134135
};
135136

0 commit comments

Comments
 (0)