-
Notifications
You must be signed in to change notification settings - Fork 27
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
Showing error messages in variable mapping #5030
Showing error messages in variable mapping #5030
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5030 +/- ##
=======================================
Coverage 96.75% 96.75%
=======================================
Files 777 778 +1
Lines 26724 26741 +17
Branches 3474 3474
=======================================
+ Hits 25856 25873 +17
Misses 606 606
Partials 262 262 ☔ View full report in Codecov by Sentry. |
481cf6b
to
cd4ae7f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is the most elegant code but it would be hypocritical to expect that, given how we work with validation errors in this codebase. A thorough cleanup/rewrite is in order for some time - when we build a dedicated admin interface instead of lumping everything in the django admin.
78dd068
to
a6173e8
Compare
Because the inputs in the variable mapping don't have inline labels, the errorlist placement doesn't have to be compensated.
Normally, when the formRow or a child component receives errors, the 'errors' classname is added. This in turn adds basic "error" styling to the underlying inputs. In situations where multiple inputs are placed in 1 FormRow, and 1 input receives an error, this results in all inputs showing error styling.
Ensure that the error messages for the DMN configuration are placed above the inputs
a6173e8
to
653eca2
Compare
Closes #4871
Changes
Showing error messages in the variable mapping for Objects API and DMN.
Checklist
Check off the items that are completed or not relevant.
Impact on features
Release management
I have updated the translations assets (you do NOT need to provide translations)
./bin/makemessages_js.sh
./bin/compilemessages_js.sh
Dockerfile/scripts
./bin
folderCommit hygiene