-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Okay, considering the exportResult function from spindle.component.ts:
public parse(): void {
this.form.controls.mpInput.markAsTouched();
this.form.controls.mpInput.updateValueAndValidity();
const input = this.form.controls.mpInput.value;
if (this.form.invalid || !input) {
return;
}
this.apiService.input$.next(input);
}These functions are very similar: could we think of a good way to make them generalizable / put them in a service? Is that even worthwhile, do you think? I'm happy to let this rest since it's not really priority but I was wondering all the same.
Originally posted by @Meesch in #84 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels