In the current version, the suggestion for form-element--form-id--[form-id].html.twig does not work.

When I change the line $suggestions[] = 'form_element__form-id__' . $variables['element']['#form_id']; to $suggestions[] = 'form_element__form_id__' . $variables['element']['#form_id']; it works.

CommentFileSizeAuthor
#2 2819233-2.patch692 byteswebcultist

Comments

webcultist created an issue. See original summary.

webcultist’s picture

StatusFileSize
new692 bytes

  • lauriii committed e8beb53 on 8.x-1.x
    Issue #2819233 by webcultist: The "form-element--form-id--[form-id].html...
lauriii’s picture

Status: Active » Fixed

Thank you for the patch!

webcultist’s picture

Thanks for accepting and committing so quick =)

Status: Fixed » Closed (fixed)

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