-
Notifications
You must be signed in to change notification settings - Fork 55
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
how to add custom validators #18
Comments
[2] How can I add custom validators to react-native-form-validator? |
Easy way it to extend the validate function and add the checks yourself and then add the errors: this.messages['en']['my_error_name'] = 'field {0} had my error with {1}'
this._addError('some_field', 'my_error','data') |
first of - don't ping people to provide you with examples for your work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
How can I add custom validators to react-native-form-validator?
The text was updated successfully, but these errors were encountered: