From 3b4e225139c447f0d6d562b069e8ed5ddf97bf8f Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Sat, 14 Mar 2026 00:46:21 +0700 Subject: [PATCH] feat(lib): make optionFormControl protected and readonly --- libs/ui/src/lib/toggle/toggle.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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() {