I have a plunkr here. How can I get the Submit button to be disabled till the dob is in mm/dd/yyyy pattern?
https://plnkr.co/edit/GtPDxw?p=preview
Here's the form
<form [formGroup]="flashyForm">
<input formControlName="dob" pattern="^\d{2}\/\d{2}\/\d{4}$" placeholder="Date of Birth">
<button type="submit" [disabled]="!flashyForm.valid">Submit</button>
</form>
patternon theinput(i am just checking it now withrequired) and i also think you are missingflashyForm.form.valid