diff --git a/lib/process-services/src/lib/form/form.component.ts b/lib/process-services/src/lib/form/form.component.ts index b7c4dfa11f8..e05869f3a6e 100644 --- a/lib/process-services/src/lib/form/form.component.ts +++ b/lib/process-services/src/lib/form/form.component.ts @@ -118,6 +118,7 @@ export class FormComponent extends FormBaseComponent implements OnInit, OnDestro ngOnInit() { this.formService.formContentClicked.pipe(takeUntil(this.onDestroy$)).subscribe((content) => this.formContentClicked.emit(content)); + this.fakeMethod(); this.formService.validateForm.pipe(takeUntil(this.onDestroy$)).subscribe((validateFormEvent) => { if (validateFormEvent.errorsField.length > 0) { this.formError.next(validateFormEvent.errorsField); @@ -125,6 +126,10 @@ export class FormComponent extends FormBaseComponent implements OnInit, OnDestro }); } + fakeMethod() { + return 'fake'; + } + ngOnDestroy() { this.onDestroy$.next(true); this.onDestroy$.complete();