There was an error while loading. Please reload this page.
1 parent eb7b758 commit 982bb8bCopy full SHA for 982bb8b
modules/angular2/src/forms/directives.js
@@ -32,8 +32,7 @@ export class DefaultValueAccessor {
32
}
33
34
@Decorator({
35
- selector: 'input[type=checkbox]', //should be input[type=checkbox][control]
36
- // change the selector once https://github.com/angular/angular/issues/1025 is fixed
+ selector: 'input[type=checkbox][control]',
37
events: {
38
'change' : 'onChange($event.target.checked)'
39
0 commit comments