Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8249

Add bold highlight to matching selection in query history autocomplete

    • Developer Tools
    • 3

      We use custom `displayLabel`s to show the label for the query history auto complete items. Because we're not using the regular labels (to avoid it fuzzy matching the titles of various fields) we don't receive the character match bolding out of the box.

      We can use `getMatch` to show this: https://codemirror.net/docs/ref/#autocomplete.Completion.displayLabel 

            Assignee:
            Unassigned Unassigned
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: