Angular compare text fields validator - useful for password match fields
Installation
-
npm install --save ngx-text-equality-validator
-
import { TextEqualityValidatorModule } from "ngx-text-equality-validator";
-
Add the module to your application
Usage
Model driven
Passwords don't match
signUpForm: FormGroup; { thissignUpForm = thisfb; }
Template driven
Passwords don't match
- AOT compatible.