Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The "terms of service" element is supposed to set both 'form-type-webform-terms-of-service' and 'js-form-type-webform-terms-of-service' as CSS classes on the wrapper attributes, but overrides the non-js one because the "class" array key is set as string both times, instead using array syntax.
Patch is on the way...
Comment | File | Size | Author |
---|---|---|---|
#4 | fix_terms_of_service_css_classes-2925530-4.patch | 2.2 KB | agoradesign |
|
Comments
Comment #2
agoradesign CreditAttribution: agoradesign commentedhere's the patch...
Comment #4
agoradesign CreditAttribution: agoradesign commentedok, seems the tests need to be corrected as well - they are already expecting the wrong classes
Comment #5
agoradesign CreditAttribution: agoradesign commentedComment #7
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedThanks!
Comment #8
agoradesign CreditAttribution: agoradesign commentedYou're welcome :)
And thanks again for the amazing reaction time :)