Step to reproduce
1)Used existing vocabulary eg: 'Tags' and Add term like "abc" and again add same term "abc" refer the image "taxonomy_terms"
2)Go to structure -> Content type.
3)Add field in existing content type eg."basic page", click on "managed field".
4)Add new field like "testing" and select field type "Term reference" as well as select widget "Autocomplete term widget (tagging)" and finish the step
5)Go to add content > basic page
6)Search taxonomy term like "abc" in auto complete text box then auto complete text box only show the one term "abc" but it not showing another term "abc".(refereed the screen "taxonomy_terms" where we have created 2 term).
Please help.
| Comment | File | Size | Author |
|---|---|---|---|
| autocomplete_taxonomy.png | 156.82 KB | ajaynimbolkar | |
| taxonomy_terms.JPG | 34.56 KB | ajaynimbolkar |
Comments
Comment #1
David_Rothstein commentedBetter title since this does not require multiple fields or content types to reproduce, just one field that is configured to use autocomplete (I tested it and was able to reproduce it just using the main "Tags" field on the article content type in the standard install profile).
Looks like Drupal 8 fixed this (perhaps inadvertently) as part of #675446: Use jQuery UI Autocomplete:
But that was part of a larger change and it would take more than just that to fix in Drupal 7.
Comment #2
David_Rothstein commentedI don't see why this would be considered a critical bug.
Comment #3
ajaynimbolkar commentedHi David,
Its critical because when my user try to update content then taxonomy id change because of same name of taxonomy term.
As provided patch would work? I think this was made for drupal 8
Thanks,
Ajay
Comment #4
aaronelborg commentedI too have this issue.
https://www.drupal.org/project/drupal/issues/2841128
Comment #5
khaldoon_masud commentedI think we should create a new term reference field autocomplete widget, something like "Autocomplete term widget with term ID (tagging)"