Skip to content
Advertisement

Tag: angular-forms

Angular Date Picker is always invalid

I have an angular date picker within a reactive form with a required validator. The problem is that it is always not valid, even when a date is picked. Strangely the control does not display red when it is invalid. Do I need to do some manual css rules for this? HTML and Typescript below. A stackblitz of the issue

Advertisement