-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible Error in documentation for pull-request #46 #50
Comments
You're missing you must redefine all the validators you use to support i18n. Something like this:
|
@jfairbank It would be nice to update the docs! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
Regarding this pull request #46
I expect the following code to work :
But It doesn't and I got the Error message :
Error: Please provide a string or configuration object with a `field` or `message` property
However, in order to work, I have to put a field property like this :
If this is the case, it seems that the example in the documentation is not correct here http://revalidate.jeremyfairbank.com/usage/createValidator.html.
In the current documentation the example code is :
whereas it should be :
Am I correct or did I miss something ?
Best regards
The text was updated successfully, but these errors were encountered: