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

No scroll to error when saving within globals or collections #6384

Open
todor0v opened this issue May 16, 2024 · 0 comments
Open

No scroll to error when saving within globals or collections #6384

todor0v opened this issue May 16, 2024 · 0 comments
Labels
status: needs-triage Possible bug which hasn't been reproduced yet

Comments

@todor0v
Copy link

todor0v commented May 16, 2024

Link to reproduction

No response

Describe the Bug

When saving there is no scroll to the error, making it hard to find when there are very long pages with many fields. For example if you have a required field and you cannot save the page without filling it, you do see an error message, but it would be a better UX to be scrolled to the problematic field itself.

To Reproduce

  1. Have a required field in your globals or collections and do not fill it.
  2. Save the page.
  3. You will see an error "Please correct invalid fields", but you have to then search where they are.

Payload Version

2.17.0

Adapters and Plugins

db-mongodb

@todor0v todor0v added the status: needs-triage Possible bug which hasn't been reproduced yet label May 16, 2024
@todor0v todor0v changed the title No scroll to error when saving on globals or collections No scroll to error when saving within globals or collections May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs-triage Possible bug which hasn't been reproduced yet
Projects
None yet
Development

No branches or pull requests

1 participant