Skip to content

Commit

Permalink
root-198: remove legacy checkbox to enable autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
jesconstantine committed Mar 14, 2019
1 parent da717a2 commit 81e3ee8
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/Form/SearchApiFederatedSolrSearchAppSettingsForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,17 +152,6 @@ public function buildForm(array $form, FormStateInterface $form_state) {
'#default_value' => $config->get('index.password'),
];

$form['setup']['autocomplete_is_enabled'] = [
'#type' => 'checkbox',
'#title' => '<b>' . $this->t('Enable autocomplete for the search results page search form') . '</b>',
'#default_value' => $config->get('autocomplete.isEnabled'),
'#description' => $this
->t('Checking this will expose more configuration options for autocomplete behavior for the search form on the Search Results page at the end of this form.'),
'#attributes' => [
'id' => ['autocomplete-is-enabled'],
],
];

/**
* Search results page options:
* - show empty search results (i.e. filterable listing page),
Expand Down

0 comments on commit 81e3ee8

Please sign in to comment.