- Issue created by @jenlampton
- πΊπΈUnited States jenlampton
Additionally, when we attempt to remove the
for
attribute using Twig in the template for the webform elementform-element--webform-processed-text.html.twig
, the entire label disappears.{{ label.removeAttribute('for') }}
- Status changed to Postponed: needs info
about 1 year ago 8:59pm 18 September 2023 - πΊπΈUnited States jrockowitz Brooklyn, NY
What theme are you using because the default template uses the below markup?
<div class="webform-required"> <span class="form-required"></span>{{ label }} </div>
@see https://git.drupalcode.org/project/webform/-/blob/6.1.x/templates/webfor...
- Status changed to Closed: cannot reproduce
about 1 year ago 1:40am 19 September 2023 - πΊπΈUnited States jenlampton
You're right we added that. So sorry - I thought it was being added by webform!
Closing (and sorry for the noise)