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.
API
Description
Usage Notes
class CheckboxRequiredValidator extends RequiredValidator {}
required
string | booleanTracks changes to the required attribute bound to this directive.
enabled
boolean@paraminput
boolean@returns
booleanngOnChanges
void@returns
voidvalidate
ValidationErrors | null@returns
ValidationErrors | nullregisterOnValidatorChange
void@paramfn
() => void@returns
voidJump to details

