Confirmed
Ensures a field value as confirmed using a _confirmation convention. This is mainly used for password confirmation field.
For example: If the password field name is password, then another field called password_confirmation must exist and should have the same value as the actual field.
Default field name - _confirmation
#Directive Code Snippet
<!DOCTYPE html>
<html lang="en">
...
<form (ngSubmit)="onSubmit(form)" #form="ngForm">
<input [confirmed]="<match with filed>" type="text" name="<name>" [(ngModel)]="<name>" #<name>="ngModel">
</form>
...
</html>
#Chain Rule Code Snippet
<!DOCTYPE html>
<html lang="en">
...
<form (ngSubmit)="onSubmit(form)" #form="ngForm">
<input [Rule]="confirmed:<compare field>" type="text" name="<name>" [(ngModel)]="<name>" #<name>="ngModel">
</form>
...
</html>