I have a hierarchical taxonomy vocabulary of page categories:
Category A
- Category A1
- Category A2
Category B
- Category B1
I would like to list some of them (conditionally) as options on my Page content type. For that, I am using an Entity Reference field, with the "Views" reference method.
I created a Taxonomy view with the Entity Reference display for that, but this way, the categories display as options without hierarchy:
Is there any way to selectively display taxonomy terms as field options on a content type, maintaining the hierarchy?