fix(forms): fixed a directive selector
This commit is contained in:
parent
eb7b7581ca
commit
982bb8b01d
|
@ -32,8 +32,7 @@ export class DefaultValueAccessor {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Decorator({
|
@Decorator({
|
||||||
selector: 'input[type=checkbox]', //should be input[type=checkbox][control]
|
selector: 'input[type=checkbox][control]',
|
||||||
// change the selector once https://github.com/angular/angular/issues/1025 is fixed
|
|
||||||
events: {
|
events: {
|
||||||
'change' : 'onChange($event.target.checked)'
|
'change' : 'onChange($event.target.checked)'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue