Account created on 8 November 2010, about 14 years ago
#

Recent comments

🇷🇴Romania oana.hulpoi

Indeed, adding the MIME type here /admin/structure/file-types/manage/document/edit fixed the issue.
Thank you!

🇷🇴Romania oana.hulpoi

Hi,

Something like this worked for me on a custom form, in Drupal 10, where "all_content_solr" is the autocompletion setting that I enabled and configured (/admin/config/search/search-api/index/content/autocomplete/all_content_solr/edit)

 $form['search'] = [
     '#type' => 'search_api_autocomplete',
      '#search_id' => 'all_content_solr',
      '#title' => $this->t('search'),
      '#maxlength' => 64,
      '#size' => 64,
      '#weight' => '0',
      '#placeholder' => $this->t('Search'),
      '#default_value' => $keys,
    ];

Regards,

🇷🇴Romania oana.hulpoi

I confirm that this patch fixes the issue on Drupal 9.5.9.

Production build 0.71.5 2024