In the current version, the suggestion for form-element--form-id--[form-id].html.twig does not work.
There is a typo in the theme sugestion for label element.

When I change the line (33) $suggestions[] = 'form_element_label__form-id__' . $variables['element']['#form_id']; to $suggestions[] = 'form_element_label__form_id__' . $variables['element']['#form_id']; it works.

I have included a patch to fix the problem.

CommentFileSizeAuthor
#2 2892560-1.patch825 bytesmartijn de wit

Comments

Martijn de Wit created an issue. See original summary.

martijn de wit’s picture

StatusFileSize
new825 bytes
tommychris’s picture

Priority: Normal » Major
Status: Needs review » Reviewed & tested by the community

The patch is working like a charm, please commit it!