- Add a link field to a content type
- Provide custom help text
- Disable the link text field
- Save

The custom description is not used. See screenshots (it is still showing "This must be an external URL such as http://example.com.").

It seems that the custom help text is only applied to the link text component. If you set the field to only display the web address part, then the help text does not appear anywhere.

Suggested solution

Help text should apply to the whole fieldset. There should be dedicated overridable help text for each of the web address and link text parts.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Leo Pitt created an issue. See original summary.

Leo Pitt’s picture

Title: Link text "manage form display" settings are not used » Link "help text" is applied to link text component only
Issue summary: View changes
darrenwh’s picture

Category: Bug report » Feature request

I think this should be a feature request

Leo Pitt’s picture

Category: Feature request » Bug report

I'm not sure - it certainly feels like a bug. The help text doesn't appear where it does on every other field type, and there is no explanation as to why. I'm pretty sure this is not working as intended.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

hey_germano’s picture

Assigned: Unassigned » hey_germano
Status: Active » Needs review
FileSize
3.32 KB

Felt like a bug to me, too, and I could reproduce it in 8.4.x-dev.

Here's a patch that prepends the admin-entered help text for the Link field before any description text that the Link module sets. This is only needed in cases where the Link Title field is hidden.

cilefen’s picture

Status: Needs review » Needs work

The last submitted patch, 6: 2836062-6-link-help-text.patch, failed testing. View results

Leo Pitt’s picture

I think this is indeed a duplicate. Good spot.

Leo Pitt’s picture

Status: Needs work » Closed (duplicate)