MaxLengthValidator

Stable

Directive

Class Overview

class MaxLengthValidator implements Validator, {
maxlength : string
ngOnChanges(changes: SimpleChanges) : void
validate(c: AbstractControl) : ValidationErrors|

}

Selectors

[maxlength][formControlName]

[maxlength][formControl]

[maxlength][ngModel]

Class Description

Class Details

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