Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
baher-zakhary authored Apr 20, 2020
1 parent ec076ba commit fdb0a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { ValidateEqualModule } from 'ng-validate-equal';
- Make sure you surround your field and its confirmation/retype field in a `<form> </form>` tag
- Give your primary field a name
- Use the directive `ngValidateEqual` on the secondary field and pass the primary field's name to the directive like this `ngValidateEqual="primaryFieldName"`
- Look for `notEqual` error in the confirmation field's errors array like this `modelConfirmPassword.hasError('notEqual')`
- Look for `'notEqual'` error in the confirmation field's errors array like this `modelConfirmPassword.hasError('notEqual')`
```html
<!-- form -->
Expand Down

0 comments on commit fdb0a65

Please sign in to comment.