Problem/Motivation

Having arbitrary lenght field descriptions (help text) in a Views table can make this module unusable.
It should be pretty simple for a developer and super useful for a site administrator.. 🙏🏻

Comments

kopeboy created an issue. See original summary.

gilmord’s picture

Status: Active » Closed (won't fix)
Related issues: +#3390633: Ability to hide field label in views

This module relays on what you have configured in the form mode, it does 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...

kopeboy’s picture

Status: Closed (won't fix) » Active

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.

paulrad’s picture

Status: Active » Reviewed & tested by the community
Related issues: +#3420361: Add possibility to alter field's help text (descriptions)

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)

gilmord’s picture

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.

gilmord’s picture

Status: Reviewed & tested by the community » Fixed
gilmord’s picture

Status: Fixed » Closed (fixed)
gilmord’s picture

$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