zenodo / zenodo-rdm

Zenodo, powered by InvenioRDM
https://zenodo.org/
GNU General Public License v2.0
36 stars 25 forks source link

subcommunities: display validation errors in form #898

Closed alejandromumo closed 1 week ago

alejandromumo commented 1 week ago

Currently the subcommunities form does not highlight the fields that are wrong, only a message saying "Validation error" is shown in the whole form.

If possible, we should do this in the same fashion of the deposit form

Image

These are computed in the backend (by marshmallow) and then sent to the client, which iterates the errors and highlights the relevant fields.