I have a form group and I'm trying to validate if the end date is not < then the start date etc. But my question is how to access the specific field if the form group is not declared yet.
dateFormGroup: this.fb.group({
start: ['', [Validators.required, DateValidator.startDateValidator(this.dateFormGroup.value.end)]],
//todo: how to access endDate
end: ['', DateValidator.endDateValidator(this.dateFormGroup.value.start)], //todo: how to access startDate
})