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

Enhancement request: Validation error messages #2316

Open
bnjmnhssnn opened this issue Sep 12, 2022 · 1 comment
Open

Enhancement request: Validation error messages #2316

bnjmnhssnn opened this issue Sep 12, 2022 · 1 comment

Comments

@bnjmnhssnn
Copy link

bnjmnhssnn commented Sep 12, 2022

Currently, form validation error messages look like this:

Validation error:
Invalid input in "Some Field"

... where "Some Field" is the label for the field defined in the blueprint.
This is fine & sufficient when your admin form is short. But in complex admin forms, with tabs, lists, fieldsets, maybe nested or collapsed elements, it is hard to locate the invalid field.

I suggest to display a tree path consisting of element titles, labels or list indices, e.g.
Invalid input in "My Tabs > Friends > [12] > Favorite Gelato Flavor"

@mdestafadilah
Copy link

this is relate to #2299

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

No branches or pull requests

2 participants