Skip to content

Commit

Permalink
docs: add email rule example in fields.json
Browse files Browse the repository at this point in the history
  • Loading branch information
14nrv committed Oct 24, 2020
1 parent 5197ff6 commit 91d817c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Form/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
[
{
"label": "Email",
"type": "email"
"type": "email",
"rules": {
"email": true
}
},
{
"label": "Phone Number",
Expand Down

0 comments on commit 91d817c

Please sign in to comment.