PatternValidator

Stable

Directive

Class Overview

class PatternValidator implements Validator, {
pattern : string|RegExp
ngOnChanges(changes: SimpleChanges) : void
validate(c: AbstractControl) : ValidationErrors|

}

Selectors

[pattern][formControlName]

[pattern][formControl]

[pattern][ngModel]

Class Description

Class Details

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