Skip to content

Commit 6106f4b

Browse files
committed
reset changedVals array
changedVals was shared between multiple records, so if two different properties were changed on two different records, both would register as having both properties changed.
1 parent ef27a4c commit 6106f4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/igniteui-angular.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
diff.push({ index: key, txlog: changedVals });
7070
}
7171
}
72+
changedVals = [];
7273
}
7374
if (dirty) {
7475
return false;
@@ -668,4 +669,4 @@
668669
module.directive(control, igniteElementDirectiveConstructor);
669670
}
670671
}
671-
}(angular, jQuery));
672+
}(angular, jQuery));

0 commit comments

Comments
 (0)