Skip to content
Snippets Groups Projects
Commit 4dfc5e34 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2044521 by bowersox, DuaelFr: Fixed Label used for markup, not associated with input form.

parent 94b39460
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -167,8 +167,7 @@ public function buildForm(array $form, array &$form_state) {
// Add a div to show the selected items
$form['selected'] = array(
'#type' => 'item',
'#markup' => '<div class="views-selected-options"></div>',
'#title' => t('Selected') . ':',
'#markup' => '<span class="views-ui-view-title">' . t('Selected:') . '</span> ' . '<div class="views-selected-options"></div>',
'#theme_wrappers' => array('form_element', 'views_ui_container'),
'#attributes' => array('class' => array('container-inline', 'views-add-form-selected')),
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment