Created
October 11, 2018 22:46
-
-
Save redgeoff/21941f7575e4e75ed22b4d6d4a17c2fa to your computer and use it in GitHub Desktop.
Autogenerating Forms - Validation
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
validators: [ | |
{ | |
where: { | |
"fields.email.value": "[email protected]" | |
}, | |
error: { | |
field: "email", | |
error: "must not be {{fields.email.value}}" | |
} | |
} | |
] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment