I am using ng2-validation Component , In this i am used Custom Validation
equalTo for validation password and confirmation password . meanwhile i seen following Errors.
While typing the value for password throw error message.
After that same password typing in confirm password the error message is hide.
3 . Is there Any possiblity throw a error message after the input details given to confirm password.
Hai Sir,
I am using ng2-validation Component , In this i am used Custom Validation equalTo for validation password and confirmation password . meanwhile i seen following Errors.
I am using below code.
<input type='password' class="form-control" placeholder="Enter your password" ngModel name="password" #password="ngModel" [(ngModel)]="model.password" required/> <input type='password' class="form-control" placeholder="Enter your password" ngModel name="confirmpassword" #confirmpassword="ngModel" [(ngModel)]="model.confirmpassword" [equalTo]="password"/> <p *ngIf="confirmpassword.errors?.equalTo"> mismatch error