UX Enhanced Autocomplete
This module enhances entity reference autocomplete fields by displaying entity titles on the first line and contextual information like type, ID, date, and author on the second line. It provides a two-line display with improved visual hierarchy and automatic activation on all entity reference autocomplete fields.
🚀 UX Enhanced Autocomplete transforms entity reference autocomplete fields by displaying contextual information in a two-line format, showing entity details like type, ID, date and author for better content selection.
✨ Features
This module enhances the default Drupal autocomplete experience by:
- Two-line display format: Entity title on the first line, contextual information (type, ID, creation date, author) on the second line
- Improved visual hierarchy: Clear separation between primary and secondary information
- Vertical scrolling: Height-limited dropdown with scroll functionality to prevent page layout disruption
- Multi-entity support: Works seamlessly with nodes and taxonomy terms
- Flexible configuration: Administrative interface to customize display options, result limits, and formatting
- Zero configuration required: Automatically activates on all entity reference autocomplete fields
This module is particularly valuable for content editors working with large amounts of content, where distinguishing between similarly-named entities is crucial for accurate content creation.
⚙️ Post-Installation
After installation, the module works automatically on all entity reference autocomplete fields.
Configuration (optional):
- Navigate to Administration > Configuration > User interface > UX Enhanced Autocomplete
- Customize settings including:
- Maximum number of results displayed
- Minimum search length required
- Which information to display (entity type, ID, date, author)
- Visual formatting and color schemes
- Title truncation options
No additional setup is required - the enhanced autocomplete interface will appear immediately on existing entity reference fields.
🔧 Additional Requirements
- Drupal Core: 10.x or 11.x
- PHP: 8.3 or higher (required for match expressions and typed constants)
- Supported entity types: node, taxonomy_term
No additional contributed modules or external libraries are required.
Recommended modules/libraries
- Autocomplete Deluxe: Offers enhanced autocomplete with different UI patterns
❤️ Supporting this Module
This module is maintained by Vivien BARBEAU.
Development of this module can be supported through:
- Community contributions: Issue reports, patches, and feature suggestions
- Testing and feedback: Real-world usage reports and improvement suggestions