- Issue created by @thomas.frobieter
- Status changed to Closed: works as designed
12 months ago 8:52am 29 January 2024 Thanks for the issue Thomas, This probably broke with an update of Radix parent theme, but we are trying to move away from simply naming things
attributes
for overriding issues and readability matters, so{% set form_element_attributes = form_element_attributes ?: create_attribute() %}
is correct and you probably need to update things on your sub-theme levelclosing as works as designed
Thx for the clarification @doxigo!
I am on 6.x-dev (just pulled the recent changes), and it's still broken without this modification in the form/form-element.html.twig:
{% include "radix:form-element" with { form_element_attributes: attributes } %}
HTML Output:
With the modification:
<div class="hidden webform-element-help-container--title webform-element-help-container--title-after js-form-item form-item form-type-url js-form-type-url form-item-cta-page-url js-form-item-cta-page-url form-disabled disabled form-group" data-component-id="radix:form-element">
Without the modification:
<div class="js-form-item form-item form-type-url js-form-type-url form-item-cta-page-url js-form-item-cta-page-url form-disabled disabled form-group">
Webform configuration (sorry for the German translation, but hopefully it will be clear):
- π«π·France PhilY πͺπΊπ«π· Paris, France
Sorry to reopen the issue, but I'm facing the exact same behavior and same fix with a brand new subtheme generated using today's downloaded dev release of Radix (
composer require 'drupal/radix:6.0.x-dev@dev'
), either setting the subtheme or radix as the default theme: webform field wrapper class is gone... - Status changed to Active
10 months ago 11:14am 22 March 2024 Hey Phil, thanks for re-opening, the issue was within the
form-element
, pushed a fix- Status changed to Fixed
10 months ago 10:12am 7 April 2024 - 6b3b3d34 committed on 6.0.x
Issue #3417130 by thomas.frobieter, PhilY, doxigo: form-element...
- 6b3b3d34 committed on 6.0.x
Automatically closed - issue fixed for 2 weeks with no activity.