Angular - Template-Driven Forms
Consider this Angular code snippet:
Which condition correctly shows the error message 'Password too short' only when the password is invalid due to length and the user has interacted with the field?
this.passwordControl = new FormControl('', [Validators.required, Validators.minLength(6)]);Which condition correctly shows the error message 'Password too short' only when the password is invalid due to length and the user has interacted with the field?
