Skip to content
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

FCA #115 - Email error #115

Closed
wants to merge 1 commit into from
Closed

Conversation

dleadbetter
Copy link
Collaborator

This pull request adds a resolveValidationErrors prop to the EditContainer component for complete customization of how errors are handled. The existing resolveValidationError prop assumes the Rails type field errors syntax:

{
  data: {
    errors: {
      email: [
        'error one',
        'error two'
     ]
  }
}

…allow custom-formed errors to be handled
@dleadbetter
Copy link
Collaborator Author

Closing this PR as it is no longer necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant