Skip to content

Commit 982bb8b

Browse files
committed
fix(forms): fixed a directive selector
1 parent eb7b758 commit 982bb8b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/angular2/src/forms/directives.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ export class DefaultValueAccessor {
3232
}
3333

3434
@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
35+
selector: 'input[type=checkbox][control]',
3736
events: {
3837
'change' : 'onChange($event.target.checked)'
3938
}

0 commit comments

Comments
 (0)