fixed an Angular 10 update issue with view child
parent
e9874e9c0d
commit
a28e204dd5
|
@ -36,7 +36,7 @@ import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|||
export class OptionBtnComponent implements ControlValueAccessor {
|
||||
@Input() config: OptionButtonsConfig;
|
||||
@Input() disabled = false;
|
||||
@ViewChild(MatButtonToggleGroup) options: MatButtonToggleGroup;
|
||||
@ViewChild(MatButtonToggleGroup, { static: true }) private options: MatButtonToggleGroup;
|
||||
public onChange;
|
||||
public onTouched;
|
||||
|
||||
|
|
Loading…
Reference in New Issue