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

Move non-field-specific errors to top of edit and create forms #707

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

jonocodes
Copy link
Contributor

Issue

In the create and edit templates, error messages under all the fields. This is problematic if your model has many fields that extend beyond the bottom of the window. In that case there is no visible feedback of the error unless you happen to scroll to the bottom.

See discussion here: #706

Changes

Move error messages to the top of form.

Screenshot of change

Screenshot 2024-02-05 at 5 36 00 AM

@jonocodes jonocodes marked this pull request as ready for review February 7, 2024 05:12
Copy link
Owner

@aminalaee aminalaee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR

@aminalaee aminalaee merged commit 054ab10 into aminalaee:main Feb 10, 2024
7 checks passed
@aminalaee aminalaee mentioned this pull request Feb 20, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants