When I add a viewfield to my content type I am allowed to enter help text, but that help text does not display on the form when I use the Viewfield widget.

Comments

nrackleff created an issue. See original summary.

seirerman’s picture

Same here on 8.x-3.0-alpha3.

In my case it's the title of the paragraph, and that's it.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new811 bytes

Here is the patch, please review.

seirerman’s picture

The help text is now shown, but only if "Always use default value" is off. It would also be better if the help text would be shown before the viewfield options, not after.

But thanks for the patch!

jerdavis’s picture

Status: Needs review » Fixed

I've updated and pushed this forward. As for the position of the help text, that's a result of the layout of fieldset.html.twig. We'd need to override that template in order to reposition the help text or use a different container.

Status: Fixed » Closed (fixed)

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