Score:0

How to get exposed filters for entity reference to render?

cn flag

I am using a entity reference view and I am able to filter via taxonomy terms directly, but when I set it to exposed and let the user decide, it does not display on the form. How can I get the expose functionality to actually work?

It works on other things like pages and blocks, but not entity reference.

I have Views Entity Reference Filter and Better Exposed Filters already installed, but that didn't seem to fix the issue.

cn flag
You said it is not shown on the form. For which users-- admins, authenticated users, anonymous users?
Shawn avatar
cn flag
Its not shown on the form for any users, no matter the role, including admins
Score:0
cn flag

Instead of a Views filter you can filter via the widget autocomplete if you add a relationship for the taxonomy field, add the taxonomy Name field to the field list and then select the Name field as search field in Format:Entity Reference list | Settings.

Shawn avatar
cn flag
Not quite what i'm looking for. The user won't know which term to search for so I have it set as checkboxs.
4uk4 avatar
cn flag
As [commented already in your previous question](https://drupal.stackexchange.com/questions/310485/how-do-you-add-a-filter-with-manage-form-display#comment394588_310485) this is a very basic thing. If you want to use a full featured View then try an entity browser implementation, like for example https://www.drupal.org/project/content_browser
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.