Skip to content
Snippets Groups Projects
Unverified Commit 4b9cd2eb authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Revert "Issue #2938842 by digitaldonkey, martin107: #edit-submit is brittle use the BEM convention"

This reverts commit 0ea9fe97.
parent 58b776be
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,6 @@ public function buildForm(array $form, FormStateInterface $form_state) {
$form['actions'] = ['#type' => 'actions'];
$form['actions']['submit'] = [
'#type' => 'submit',
'#id' => 'search-form--submit',
'#value' => $this->t('Search'),
// Prevent op from showing up in the query string.
'#name' => '',
......
......@@ -183,7 +183,7 @@ public function getBlockTests() {
'theme' => $theme,
'block_plugin' => 'search_form_block',
'new_page_text' => NULL,
'element_selector' => '#search-form--submit',
'element_selector' => '#edit-submit',
'label_selector' => 'h2',
'button_text' => 'Save Search form',
'toolbar_item' => NULL,
......
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