Make selected option show parent terms

Created on 27 February 2014, over 11 years ago
Updated 25 June 2025, 8 days ago

Great module, it has really made managing our term references easier.

One thing I would like to see is for the select box to show the full term ancestry when it has been selected.

Let's say you have a bunch of categories that all have a similar structure, like:

cat 1
-subcat a
-subcat b
cat2
-subcat a
-subcat b
cat 3
-subcat a
-subcat b

now when you go to edit the entity/node you might end up seeing this in your taxonomy field:

-subcat a
-subcat a

Which is not helpful to the content editor. So I constantly find myself clicking the drop-down to see _which_ 'subcat a' this node has been tagged with. It would be nice to, at a glance, see this:

cat 1 - subcat a
cat 3 - subcat a

as the selected terms.

So, one option would be to show the full parentage on every term, but that might be visually confusing and duplicative when selecting a term. The other option is to show the full term ancestry only after an option has been selected, either in the select box itself, or as a separate label or div next to the term id.

Or, perhaps I am missing a simple config option that could accomplish this already?

Feature request
Status

Closed: won't fix

Version

1.2

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024