React-jsonschema-form: Support showing the error list at the bottom of the form

Created on 14 Jul 2017  路  3Comments  路  Source: rjsf-team/react-jsonschema-form

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.

Most helpful comment

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

All 3 comments

Have you tried overriding the default template?

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

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

elyobo picture elyobo  路  3Comments

abhishekpdubey picture abhishekpdubey  路  3Comments

epicfaace picture epicfaace  路  3Comments

MedinaGitHub picture MedinaGitHub  路  3Comments

n1k0 picture n1k0  路  3Comments