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.
In version beta 1 is the prefix id and class missing for select components. See _webform_render_select and _webform_render_markup. This makes it a little bit harder to theme the forms.
The code which is missing is this:
'#prefix' => '<div class="webform-component-'. $component['type'] .'" id="webform-component-'. $component['form_key'] .'">',
'#suffix' => '</div>',
Comments
Comment #1
quicksketchIt's not missing, it's just renamed. See #711300: Distinguish between the different types of webform-select when adding #prefix to form elements.