-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed90a94
commit 8bb5a0f
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,7 +154,7 @@ You can pass multiple validation rules into the `validate` helper. | |
|
||
``` dart | ||
validate(rules: { | ||
"email address": ["[email protected]" "email|max:10"] | ||
"email address": ["[email protected]", "email|max:10"] | ||
// checks data is an email and maximum of 10 characters | ||
}, onSuccess: () { | ||
print("Success! It's a valid email and maximum of 10 characters"); | ||
|