Skip to content

Commit

Permalink
Merge pull request #4 from lukepighetti/patch-1
Browse files Browse the repository at this point in the history
validation.md nit
  • Loading branch information
agordn52 authored Sep 9, 2024
2 parents ed90a94 + 8bb5a0f commit 1745b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/docs/5.20.0/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 1745b96

Please sign in to comment.