We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8f20c5 commit 32d946fCopy full SHA for 32d946f
README.md
@@ -1,3 +1,6 @@
1
+## Breaking changes
2
+Directive email rename to ng
3
+
4
# Description
5
6
Angular 4 custom validation, forked from [ng2-validation](https://github.com/yuyang041060120/ng2-validation).
@@ -152,7 +155,7 @@ export class AppModule {
152
155
### email
153
156
154
157
```html
-<input type="text" [(ngModel)]="model.field" name="field" #field="ngModel" email>
158
+<input type="text" [(ngModel)]="model.field" name="field" #field="ngModel" ngvemail>
159
<p *ngIf="field.errors?.email">error message</p>
160
```
161
0 commit comments