- Issue created by @kopeboy
- Status changed to Closed: won't fix
9 months ago 1:15pm 7 February 2024 - ๐บ๐ฆUkraine gilmord ๐บ๐ฆUkraine
This module relays on what you have configured in the form mode, ot dea not interact with the widget and only renders it.
Consider hiding description on the form mode level
See this issue as a reference:
https://www.drupal.org/project/editablefields/issues/3390633#comment-154... โจ Ability to hide field label in views Active - Status changed to Active
9 months ago 7:27pm 7 February 2024 - ๐ฎ๐นItaly kopeboy Milan
No: we cannot define the field's help text for each form mode.
And you do build and edit the form in your code, e.g. removing the title// Remove the title of the field. $instance['label'] = '';
, so would it be possible to remove the help text element as well?
Otherwise the only workaround would be to hide it with CSS.. if there is a class to target.
- Status changed to RTBC
9 months ago 4:08pm 9 February 2024 - ๐บ๐ฆUkraine paulrad
Hi, guys!
I've worked on the requested functionality in the module that addresses the entity form issues (previously labels and now help text too).Please, consider using it in your project in such cases.
Project - Entity Form/Display Field Label โ
Issue - Add possibility to alter field's help text (descriptions) โจ Add possibility to alter field's help text (descriptions) Needs review - ๐บ๐ฆUkraine gilmord ๐บ๐ฆUkraine
Perfect, Entity Form/Display Field Label can now handle both title and description.
Looks like we do not need $instance['label'] = '' this code and can relay on external modules to interact with the wigets. - Status changed to Fixed
9 months ago 4:15pm 9 February 2024 - Status changed to Fixed
9 months ago 4:16pm 9 February 2024 - ๐บ๐ฆUkraine gilmord ๐บ๐ฆUkraine
$instance['label'] = '';
This code was in drupal7, it is not supported by the maintainers, so we can skip this unless comunity implement solutions for title/description for d7 version