- Merge request !1063Issue #3083103: Programmatically associate error messages with inputs β (Open) created by Liam Morland
- First commit to issue fork.
- πΊπΈUnited States neclimdul Houston, TX
Rebased and address the feedback from alex.
Unfortunately this doesn't work. It was really broken and the ID attachement didn't seem to work at all. I fixed that but it only works for simple elements. When trying to attach to groups like radios or checkboxes, the ID in displayErrorMessages is the collection, but the ID in setElementErrorsFromFormState is the ID of the specific input and these don't match.
For example testing on umami search,
edit-type--error-message
but the element is
edit-type-article
referencing
edit-type-article--error-message
Definitely needs a lot of tests.
- Merge request !7080Issue #3083103: Programmatically associate error messages with inputs β (Open) created by neclimdul
- πΊπΈUnited States neclimdul Houston, TX
got some tests in place that identify some of the pending issues. not passing because we've got some hard problems to solves still.
- π¨π¦Canada Liam Morland Ontario, CA π¨π¦
I have rebased both merge requests.