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