RequiredValidator

Stable

Directive

Class Overview

class RequiredValidator implements Validator {
required : boolean|string
validate(c: AbstractControl) : ValidationErrors|

}

Selectors

:not([type=checkbox])[required][formControlName]

:not([type=checkbox])[required][formControl]

:not([type=checkbox])[required][ngModel]

Class Description

Class Details

exported from forms/index, defined in forms/src/directives/validators.ts