@angular/forms

RequiredValidator

directive

A directive that adds the required validator to any controls marked with the required attribute. The directive is provided with the NG_VALIDATORS multi-provider list.

  
    class RequiredValidator extends AbstractValidatorDirective {}
  
  
Jump to details