fix(forms): fixed a directive selector

This commit is contained in:
vsavkin 2015-03-30 20:52:37 -07:00
parent eb7b7581ca
commit 982bb8b01d
1 changed files with 1 additions and 2 deletions

View File

@ -32,8 +32,7 @@ export class DefaultValueAccessor {
}
@Decorator({
selector: 'input[type=checkbox]', //should be input[type=checkbox][control]
// change the selector once https://github.com/angular/angular/issues/1025 is fixed
selector: 'input[type=checkbox][control]',
events: {
'change' : 'onChange($event.target.checked)'
}