fix(forms): fixed a directive selector
This commit is contained in:
parent
eb7b7581ca
commit
982bb8b01d
|
@ -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)'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue