Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
update
  • Loading branch information
fcostaprojects authored Feb 25, 2017
1 parent 85ab172 commit 909e21d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
# nativescript-input-validator-ng2
Example of input validation component for nativescript ng2, using class-validator

export class Login {
@IsEmail(undefined, {message:"Email invalid"})
@IsNotEmpty({message:"Email is required"})
email: string;

@IsNotEmpty({message:"Password is required"})
password: string;
}


![screen](https://cloud.githubusercontent.com/assets/22457603/23334454/9ca32b10-fb7d-11e6-84c3-734d63376ff5.png)

0 comments on commit 909e21d

Please sign in to comment.