@angular/forms

MaxValidator

directive

A directive which installs the MaxValidator for any formControlName, formControl, or control with ngModel that also has a max attribute.

  
    class MaxValidator extends AbstractValidatorDirective {}
  
  
Jump to details