Hi,
So, in my Angular reactive forms, I am binding my form control to my
component and in each component I have the following:
```
public form: FormGroup = new FormGroup({
control: new FormControl('', [Validators.required, Validators.max(1)])
});
```
I have added this into select dropdown in my HTML:
[ngClass]="{ 'is-invalid': control.touched && control.invalid }"
I am not seeing is-invalid, am I doing something wrong?
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/angular/317c80e2-224d-473d-b175-57b4bb4a4da9n%40googlegroups.com.