Autocomplete ID

Categories

Component ID

2407293

Component name

Autocomplete ID

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

The core autocomplete element relies on the ID being present in the label. I believe that the user should never have to see the entity IDs - This module provides an alternative element, that handles IDs transparently.

In core, where no ID is present in the selected label, the entity is simply queried by title. That doesn't work if multiple entities have the same title, but it's a problem that's solved by using this module.

The module is used on some high profile e-commerce sites where multiple products can be have the same label/title, yet are distinguished by some other property (pack size, weight etc), and it would not be acceptable UX for us to show the IDs to customers.