@angular/forms

MaxLengthValidator

directive

A directive that adds maximum length validation to controls marked with the maxlength attribute. The directive is provided with the NG_VALIDATORS multi-provider list.

  
    class MaxLengthValidator extends AbstractValidatorDirective {}
  
  
Jump to details