The Entity Autocomplete ID module enhances Drupal's default entity autocomplete functionality by enabling users to search and match entities based on their unique IDs, in addition to the conventional entity labels. If there is a match by ID, an extra result is prepended and shown first in the result list. Module provides a form element, an entity reference field widget, and allows for easy global enabling across all existing autocomplete fields.
How to use it:
- On the entity form display configuration page, use the 'Autocomplete ID' widget on any entity reference fields.
- Programmatically, you can use the 'entity_id_autocomplete' form render element type.
- Alternatively, you can enable it globally for use in all autocomplete fields across the site. Don't forget to configure permissions if you want to restrict access by roles.
🇺🇦 |
This module is maintained by Ukrainian developers. Please consider supporting Ukraine in a fight for their freedom and safety of Europe. |
Supporting organizations:
Initial implementation
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Content editing experience
964 sites report using this module
- Created by mostepaniukvm on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
8.x-1.7
released 22 August 2024
Works with Drupal: ^9 || ^10 || ^11
Drupal 11 Support
Install:
Development version: 8.x-1.x-dev updated 13 Oct 2025 at 15:52 UTC


