Closed (fixed)
Project:
Editable Fields
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2023 at 11:45 UTC
Updated:
8 Feb 2024 at 10:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gilmordHi, 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
Comment #3
grabby commentedThanks 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.
Comment #4
joelpittet@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?)
Comment #5
gilmord@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
Looks like it is capable of hiding labels on form modes:
https://www.drupal.org/project/entity_form_field_label/issues/3151353
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
Comment #6
paulrad commentedComment #7
paulrad commentedHi guys, I can confirm that https://www.drupal.org/project/entity_form_field_label project provides requested functionality.
Screenshots attached.
Comment #8
gilmordComment #9
gilmordThanks @paulrad, closing this issue.