Skip to main content
added 8 characters in body; edited title
Source Link
Mike Godin
  • 344
  • 1
  • 10

How to add highlighting to autocomplete exposed filterviews_autocomplete_filter in Drupal 8 view

Is there a way (a hook perhaps) that would allow me to modify the autocomplete fields returned by an exposed view autocompleteviews_autocomplete_filter field? I'd like to style the text typed into the field differently from the rest of the suggestion text.

Something like this:

------------------
| term_          |
------------------------------
| terminal emulators |
------------------------------
| determination         |
------------------------------
| midterm exams      |
------------------------------

How to add highlighting to autocomplete exposed filter in Drupal 8 view

Is there a way (a hook perhaps) that would allow me to modify the autocomplete fields returned by an exposed view autocomplete field? I'd like to style the text typed into the field differently from the rest of the suggestion text.

Something like this:

------------------
| term_          |
------------------------------
| terminal emulators |
------------------------------
| determination         |
------------------------------
| midterm exams      |
------------------------------

How to add highlighting to exposed views_autocomplete_filter in Drupal 8

Is there a way (a hook perhaps) that would allow me to modify the autocomplete fields returned by an exposed views_autocomplete_filter field? I'd like to style the text typed into the field differently from the rest of the suggestion text.

Something like this:

------------------
| term_          |
------------------------------
| terminal emulators |
------------------------------
| determination         |
------------------------------
| midterm exams      |
------------------------------

Source Link
Mike Godin
  • 344
  • 1
  • 10

How to add highlighting to autocomplete exposed filter in Drupal 8 view

Is there a way (a hook perhaps) that would allow me to modify the autocomplete fields returned by an exposed view autocomplete field? I'd like to style the text typed into the field differently from the rest of the suggestion text.

Something like this:

------------------
| term_          |
------------------------------
| terminal emulators |
------------------------------
| determination         |
------------------------------
| midterm exams      |
------------------------------