Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Commit 9977473

Browse files
adamdurenKent C. Dodds
authored andcommitted
fix: User's onChange event should get called if given
1 parent 3dbdcab commit 9977473

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/types/multiCheckbox.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ export default ngModule => {
7171
// Must make sure we mark as touched because only the last checkbox due to a bug in angular.
7272
$scope.fc.$setTouched();
7373
checkValidity(true);
74+
75+
if ($scope.to.onChange) {
76+
$scope.to.onChange();
77+
}
7478
}
7579

7680
if (opts.expressionProperties && opts.expressionProperties['templateOptions.required']) {

0 commit comments

Comments
 (0)