Display "There are no suggestions" text when no suggestions available.

Created on 21 February 2019, almost 6 years ago
Updated 27 June 2024, 6 months ago

When not finding anything, it would be good to display some text. This is a feature that existed in a similar module - apachesolr_autocomplete:

    if (count($result) == 0) {
      $result[] = array("label" => '<span class="apachesolr_autocomplete message">' . t('No suggestions.') . '</span>');
    }

This is how it looks in practice:

Feature request
Status

Active

Version

1.0

Component

User interface

Created by

🇧🇬Bulgaria miroslavbanov

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024