CheckboxRequiredValidator
directive
A Directive that adds the required validator to checkbox controls marked with the required attribute, via the NG_VALIDATORS binding.
NgModules
Selectors
input[type=checkbox][required][formControlName]input[type=checkbox][required][formControl]input[type=checkbox][required][ngModel]
Inherited from RequiredValidator
    Description
Example
<input type="checkbox" name="active" ngModel required>
Methods
|     validate()      | ||
|---|---|---|
   |  
| control |   Type:   |  
Returns
ValidationErrors | null
Inherited from RequiredValidator
   
    © 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
    https://v6.angular.io/api/forms/CheckboxRequiredValidator