Closed (works as designed)
Project:
Label Help
Version:
2.0.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2026 at 18:01 UTC
Updated:
12 Mar 2026 at 13:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
dave reidComment #4
anjuelsaphilip2020 commentedHi, I've verified and tested MR !22 and applied the patch successfully on the Label Help 2.0.x-dev version. The changes are working as expected.
Following steps I followed:
Testing Result: After applying the patch, the help text for the single checkbox field is displayed below the checkbox as part of the description, instead of appearing above the checkbox.
Attaching screenshots for reference.
Thanks
Comment #5
jwilson3Thanks Dave, I remember looking at this when making the port to d8 many years ago and it seems the decision was to place the help text above the single checkbox, because the normal (Drupal default) description field already places it below.
@anjuelsaphilip2020 thank you for the screenshots. Would you mind taking a screenshot of where Drupal's in-built description field places text?, and then also having screenshots or copy/paste of the rendered DOM would be helpful for all three cases too.
Edit: To clarify, I'm not totally opposed to moving the text below (as depicted in the "after" screenshot), but we do need to be conscious that existing installs that are using the label help field explicitly in this case to place the text above, will show as a regression.
Comment #6
jwilson3Comment #7
anjuelsaphilip2020 commentedHi, I've added additional screenshots for comparison: Drupal core Description field placement for a single checkbox.
Comment #8
jwilson3Thank you so much @anjuelsaphilip2020!
So core-description-checkbox.png placement is exactly the same as the Label Help after-patch.png.
I hate to do this, Dave, but am inclined to close this as works as designed because the Label Help placement position for single checkboxes is currently in a novel location that cannot be achieved by core but after applying the change in the MR there is no longer any way to put help text above the checkbox, and the Label Help placement ends up being the same as what core description field already provides.
Long story short, if you want help text under the single checkbox, just move it from the Label Help field to the core Description field on the field config.
Happy to reconsider if there is another winning argument that I've somehow missed here though.
All the same, I've credited everyone on the contribution record. Thanks for your help and careful attention to make the module better.