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

Support showing the error list at the bottom of the form #634

Closed
mfulton26 opened this issue Jul 14, 2017 · 3 comments · Fixed by #3196
Closed

Support showing the error list at the bottom of the form #634

mfulton26 opened this issue Jul 14, 2017 · 3 comments · Fixed by #3196
Assignees

Comments

@mfulton26
Copy link
Contributor

Currently react-jsonschema-form only supports showing the error list at the top of the form or not showing it at all. Sometimes it is beneficial to display error lists at the bottom of the form (particularly on long forms). It would be helpful to have a flag of some kind to control its location.

@chrisjlee
Copy link

Have you tried overriding the default template?

https://github.com/mozilla-services/react-jsonschema-form#field-template

@nataliyakarat
Copy link
Contributor

nataliyakarat commented Dec 19, 2018

have the same issue. I need to have a list of all errors (like a summary) at the bottom of the form. A field template can't help with this, it's about the form template

UPD:
Solved for me. I took advantage of onError handler
https://github.com/mozilla-services/react-jsonschema-form#form-error-event-handler

@glasserc
Copy link
Contributor

We could offer a Template for the Form class, similar to how we offer one for ObjectField and ArrayField, but another option would be for you to just subclass Form and override render.

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

Successfully merging a pull request may close this issue.

5 participants