Stable Directive
Class Overview
class MinLengthValidator { minlength : string ngOnChanges(changes: SimpleChanges) validate(c: AbstractControl) : {[key: string]: any} registerOnValidatorChange(fn: () => void) }
Selectors
[minlength][formControlName]
[minlength][formControl]
[minlength][ngModel]
Class Description
A directive which installs the MinLengthValidator
for any formControlName
, formControl
, or control with ngModel
that also has a minlength
attribute.
Class Details
minlength : string
ngOnChanges(changes: SimpleChanges)
validate(c: AbstractControl) : {[key: string]: any}
registerOnValidatorChange(fn: () => void)
exported from @angular/forms/index, defined in @angular/forms/src/directives/validators.ts
Please login to continue.