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

Created on 21 February 2019, over 5 years ago
Updated 27 June 2024, 4 days 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.69.0 2024