Ability to hide field label in views

Created on 29 September 2023, about 1 year ago
Updated 8 February 2024, 10 months ago

Having the field label always show in views is redundant in a table view with column labels of the same name, see attached pic. It would be nice to be able to hide the field label is such a situation. Thanks for the great module!

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇭🇺Hungary Grabby

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Grabby
  • 🇺🇦Ukraine gilmord 🇺🇦Ukraine

    Hi, please try to hide the lable in the display mode you use for the editable fields

    I recommend having a separate view mode to use for editable fields, not the "default" one

  • 🇭🇺Hungary Grabby

    Thanks for that. I did as you suggested. I created a new view mode for editable fields. Then for the two fields of interest I changed the label to “Hidden” and the format to “Editable field”. Then I went to my view and changed the Formatter to rendered entity. Unfortunately, the view mode I created was not an option. Did I mention this is for entity reference fields? My only options were for taxonomy term view modes. The weird thing is that after I changed the label to “Hidden” and the format to “Editable field” for the two fields I wanted, all my disabled fields had their format changed to “Editable field”! All except for the disabled entity reference fields, that is.

  • 🇨🇦Canada joelpittet Vancouver

    @Grabby I'm running into the same issue. The label needs to be changed on a "form view mode" not a "display view mode". Although it doesn't look configurable (drupal core issue? or needs a module?)

  • 🇺🇦Ukraine gilmord 🇺🇦Ukraine

    @joelpittet yeah, my bad, it is a form mode indeed

    Found this module, but have not tested it:
    https://www.drupal.org/project/entity_form_field_labe

    I think we should use some eternal/core functionality to handle labels, as this module totally relays on what you have set up in your form mode and does not interact with the widget selected and only renders it based on form mode settings

  • Assigned to paulrad
  • Issue was unassigned.
  • Status changed to RTBC 10 months ago
  • 🇺🇦Ukraine paulrad

    Hi guys, I can confirm that https://www.drupal.org/project/entity_form_field_label project provides requested functionality.
    Screenshots attached.

  • Status changed to Fixed 10 months ago
  • 🇺🇦Ukraine gilmord 🇺🇦Ukraine
  • Status changed to Fixed 10 months ago
  • 🇺🇦Ukraine gilmord 🇺🇦Ukraine

    Thanks @paulrad, closing this issue.

Production build 0.71.5 2024