show form control error only if touched angular code example Example: validation minlength angular Validators.minLength(9)