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

subcommunities: display validation errors in form #898

Closed
Tracked by #899
alejandromumo opened this issue Jun 26, 2024 · 0 comments · Fixed by #914 or inveniosoftware/invenio-communities#1170
Closed
Tracked by #899
Assignees

Comments

@alejandromumo
Copy link
Member

alejandromumo commented Jun 26, 2024

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.

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