max length validation in angular 6 reactive forms code example Example: validation maxlength angular Validators.maxLength(11)