Score:1

How do I hide the label of disabled field groups?

do flag

In the Manage Display tab, I have disabled fields because they are rendered in the page.html.twig file inside of a region. I don't want the field to display the label.

I can set the label to hidden for the non-disabled fields, but for the disabled ones, when I change the label to "- Hidden -" it simply reverts itself back to "Above"

Here is the field before clicking save:

Label for image before save

Here it is after save:

Label for image after save

Here it is rendered on the page with the annoying label that I want to hide:

Image with annoying label that I want to hide.

Kevin avatar
in flag
The field is disabled and therefore the settings don't matter in that case. The field should be enabled, and the label set to hidden. This would be averted by using a view mode and either placing a Views block or programatically creating a render array in the page preprocess hook.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.