Example of auto-completion with custom rendering
Example of selection with personalized rendering

This is an enhanced autocomplete element, that uses the jQuery UI autocomplete. It will also implement a widget for any entity reference.

Features:

  • New autocomplete form element
  • Widget for fieldable entity type
  • Autocomplete result fully customizable in Javascript with "Drupal.theme()"
  • Autocomplete selected items fully customizable in Javascript with "Drupal.theme()"

The default rendering of this new FormElement does not overload graphics in order to avoid excess styles when loading pages.
Don't hesitate to look at the example module to create your own personalized autocomplete routes and renderings!

Project information

Releases