Problem/Motivation
Using the default template for fields, when selecting the option "Visually hidden" for a field label, the label is shown correctly instead of being hidden.
Steps to reproduce
Proposed resolution
Add class visually-hidden when field label is set like that
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|
Issue fork radix-3260596
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
dimitriskr commentedComment #3
bserem commentedDoes the css class exist in Radix? So, applying this will fix things?
Or does it need to be added too in this issue?
Also, mark the issue status as "needs review".
Comment #5
dimitriskr commentedI hid the patch in favor of the MR.
@bserem,
The class exists and applying this patch works as it should be
Comment #6
bserem commentedNice. The indentation seems wrong on lines 10->12 and 30.
Also there is an extra empty line (15).
Code-wise it looks ok, but please check those visual improvements too.
Thanks
Comment #7
bserem commentedIt is still not properly indented.
(line 12, line 31)
Comment #8
bserem commentedI still see a couple of lines that do not look ok, maybe my eyes are playing tricks.
Ping me on Slack so as to see if your editor is mixing stuff for you.
Comment #11
doxigo commentedThanks for the MR Dimitri and the quality control bill, this is merged, I'll fix the indentation if any later on and will push to codebase