@angular/forms

CheckboxRequiredValidator

directive

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

  
    class CheckboxRequiredValidator extends RequiredValidator {}
  
  
Jump to details