Skip to content

Commit bba5c2d

Browse files
committed
Merge branch 'patch-1' of https://github.com/bygiro/angular-schema-form into bygiro-patch-1
2 parents 54ea39c + 3e62315 commit bba5c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directives/array.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ angular.module('schemaForm').directive('sfArray', ['sfSelect', 'schemaForm', 'sf
132132
}
133133

134134
// Angular 1.2 lacks setDirty
135-
if (ngModel.$setDirty) {
135+
if (ngModel && ngModel.$setDirty) {
136136
ngModel.$setDirty();
137137
}
138138
return list;

0 commit comments

Comments
 (0)