Skip to content

Commit

Permalink
Merge pull request #2384 from fecgov/feature/1786-2
Browse files Browse the repository at this point in the history
feature/1786 - Fix issue with lined report. Accidentally passed 'date' instead of templateMap['date'] value
  • Loading branch information
toddlees authored Nov 18, 2024
2 parents 4d06056 + 5fc4d5f commit 3c89cf9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ export class LinkedReportInputComponent extends BaseInputComponent implements On
(this.form.get(this.templateMap['date']) as SubscriptionFormControl) ?? new SubscriptionFormControl();
const date2Control =
(this.form.get(this.templateMap['date2']) as SubscriptionFormControl) ?? new SubscriptionFormControl();
this.linkedF3xControl.addValidators(buildCorrespondingForm3XValidator(this.form, 'date', 'date2'));
this.linkedF3xControl.addValidators(
buildCorrespondingForm3XValidator(this.form, this.templateMap['date'], this.templateMap['date2']),
);

dateControl.valueChanges
.pipe(
Expand Down

0 comments on commit 3c89cf9

Please sign in to comment.