Autocomplete hide id options for use with unique labels

Created on 20 January 2012, almost 13 years ago
Updated 14 April 2023, over 1 year ago

Im using the module Entity reference 7.x-1.0-beta3 in a clean drupal 7.1 core.
And I have created an Entity Reference field in a content_type B with a autocomplete widget to list all the node's name of a content_type A.
The problem is the display is worked, but while I select a value from the autocomplete result list, it not only returns the node's name, but with an additional "(nid)" ex: "nodename1 (5)".
I'd appreciate if some one could help me.
Thank you!

Feature request
Status

Fixed

Version

1.0

Component

User interface

Created by

🇨🇳China sunyu0072007

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024