- Issue created by @Grimreaper
- π«π·France Grimreaper France π«π·
Also I had to add for coloring:
.form-item--error-message { color: var(--input--error-border-color); }
- Status changed to Postponed: needs info
about 1 year ago 7:30pm 21 October 2023 - π¨πSwitzerland saschaeggi Zurich
@Grimreaper can you test if this is a bug related only to Gin Login or if it happens also in Gin in general? As then we'd better move this issue there to generally fix it.
- Status changed to Needs work
about 1 year ago 11:53am 22 October 2023 - π«π·France Grimreaper France π«π·
Hi @saschaeggi,
I can confirm this happens in Gin in general.
I have tested on a node create form where I added a required boolean field:
- Status changed to Closed: outdated
6 months ago 10:04am 14 June 2024 - Status changed to Needs work
5 months ago 2:51pm 21 July 2024 - π«π·France Grimreaper France π«π·
Hi,
With Gin 3.0.0-rc13, The checkbox is now accessible ok, but what about adding an error color on the text?
- π¨πSwitzerland saschaeggi Zurich
Can you create a MR to add it? Cheers!
- Merge request !478Issue #3382052 by Grimreaper: Incompatible with Clientside Validation and required checkbox β (Open) created by Grimreaper
- Status changed to Needs review
4 months ago 8:02am 23 July 2024 - π«π·France Grimreaper France π«π·
Hi,
MR created.
I have manually edited the CSS files and also handling error message outside of checkbox, like text fields.
See attached screenshots.
- π¨πSwitzerland saschaeggi Zurich
@Grimreaper I've pushed some code simplification as we can generally make
label.error
available inform.css
(pretty sure there will be more situations).Please have a look so we can proceed with this π
Thank you!
- Status changed to Needs work
4 months ago 7:29am 30 July 2024 - π«π·France Grimreaper France π«π·
Hi @saschaeggi,
Thanks for the simplification.
It's ok for checkbox, but does not take other form elements into accounts.
- Status changed to Needs review
4 months ago 7:56pm 1 August 2024 - π¨πSwitzerland saschaeggi Zurich
@Grimreaper π―, can you check the latest changes? Thank you!
- Status changed to Needs work
4 months ago 8:12am 2 August 2024 - π«π·France Grimreaper France π«π·
Thanks @saschaeggi.
Now ok for textfield, but broken (or current behavior without the MR) on checkbox.
As shown on the screenshot, the problem is this selector
:not(.form-checkboxes):not(td):not(.tabledrag-cell-content__item):not(.media-library-item__click-to-select-checkbox):not(.field-content):not(.tablesaw-cell-content) > .form-type--checkbox label
gurpreet@materialplus β made their first commit to this issueβs fork.
Hi team
I have created an MR and aligned the validation message for the checkbox.
MR:- https://git.drupalcode.org/project/gin/-/merge_requests/478/diffs?commit...- π¬π·Greece kostask
I have revert it the phpcs fixes on the css files. Css files are automatically created with npm so no need to care for them.
I also removed on unneeded empty line.Screenshots:
before β
after βThe issue seems to be fixed.
There seems to be a problem with the error position. It should always be below the field I think. I ll open a follow up issue for this.