Add links to invalid inputs on error alert (Z#23149061) (#4114)

* Add links to invalid inputs on error alert

* add errors in sub-forms to message, fix issues with multi-checkboxes labels and inputs

* add scrollTarget.scrollIntoView

* add missing semi-colon

* improve comment

* add style for links in alert-danger

* fix link color for all alert-boxes

* Update src/pretix/static/pretixcontrol/js/ui/main.js

---------

Co-authored-by: Raphael Michel <michel@rami.io>
This commit is contained in:
Richard Schreiber
2024-04-30 10:18:32 +02:00
committed by GitHub
parent a9d506b1fa
commit 0de96ed066
2 changed files with 40 additions and 2 deletions

View File

@@ -169,6 +169,10 @@ input[type=number]::-webkit-outer-spin-button {
background-position: 6px 6px;
background-size: 38px 38px;
}
a {
color: inherit;
text-decoration: underline;
}
}
.sr-only.alert::before {
background: none !important;