Good Morning,

After I entered Label help text it was not able to appear on the Create content web form.

Machine name: label_help
Version: 8.x-1.x-dev
Content type section:
Manage fields has Field Type = List(text)
Manage form display has Widget = Check boxes / radio buttons

Thanks for all you do!

CommentFileSizeAuthor
#7 interdiff-6-7.txt1.05 KBjwilson3
#7 2883840-7.patch14.04 KBjwilson3
#6 2883840-6.patch13.11 KBjwilson3

Comments

stevecory created an issue. See original summary.

jwilson3’s picture

I haven't specifically tested the List (text) field with Radios/Checkboxes widget, but I have tested List (integer) field with a dropdown select field, with my patch on #2948501: Improve Drupal 8 field compatibility (see bottom of example 2 screenshot). I suggest you try that patch and see if this works— and let us know if it does!

jwilson3’s picture

Title: Label Help text not appearing for List (text) field » Label Help support for List (text) field with Radios/Checkboxes widget
jwilson3’s picture

Version: 8.x-1.x-dev » 2.0.x-dev
jwilson3’s picture

Assigned: Unassigned » jwilson3
Category: Bug report » Feature request
jwilson3’s picture

Status: Active » Needs review
StatusFileSize
new13.11 KB

This patch adds support for single standalone Checkbox (ie, boolean field) as well as Checkboxes and Radios eg via List fields.

It also added a much needed way to debug the module with adding a ton of extra lines of code. Since there are several special cases that need to be handled, this approach should help debugging easier.

If you add:

$settings['label_help_debug'] = TRUE;

to settings.php (or settings.local.php) then you'll get debug output on Node edit forms.

jwilson3’s picture

StatusFileSize
new14.04 KB
new1.05 KB

Whoops that patch was missing a key piece I forgot to stage.

jwilson3’s picture

Status: Needs review » Fixed

  • jwilson3 committed f3307b5 on 2.0.x
    Issue #2883840 by jwilson3: Label Help support for Radios/Checkboxes...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.