maximum length in input angular 8 code example Example: validation maxlength angular Validators.maxLength(11)