this.seedFundForm = this.fb.group({
multipleSource: this.fb.array([]),
amount:[data.amount, Validators.compose([Validators.required, Validators.pattern('[0-9]*'), Validators.maxLength(10)])],
date:[data.date, Validators.compose([Validators.required, Validators.pattern('/^(0[1-9]|[1-2][0-9]|3[0-1])\/(0[1-9]|1[0-2])\/[0-9]{4}$/'), Validators.maxLength(10)])]
});
I've implemented this approach, but unfortunately I haven't been able to solve the problem yet. Could it be that my regular expression is incorrect or could there be another mistake I'm overlooking?