diff --git a/libs/ui/src/lib/toggle/toggle.component.ts b/libs/ui/src/lib/toggle/toggle.component.ts index 15fa4e172..fff3f64da 100644 --- a/libs/ui/src/lib/toggle/toggle.component.ts +++ b/libs/ui/src/lib/toggle/toggle.component.ts @@ -23,8 +23,7 @@ export class GfToggleComponent implements OnChanges { @Input() isLoading: boolean; @Input() options: ToggleOption[] = []; - public optionFormControl = new FormControl(null); - + protected readonly optionFormControl = new FormControl(null); protected readonly valueChange = output>(); public ngOnChanges() {