Browse Source

feat(lib): make optionFormControl protected and readonly

pull/6533/head
KenTandrian 3 weeks ago
parent
commit
3b4e225139
  1. 3
      libs/ui/src/lib/toggle/toggle.component.ts

3
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<string | null>(null);
protected readonly optionFormControl = new FormControl<string | null>(null);
protected readonly valueChange = output<Pick<ToggleOption, 'value'>>();
public ngOnChanges() {

Loading…
Cancel
Save