Problem/Motivation

We are not able to add BEF expose Entity References filter as checkboxes like we can do it for Taxonomy terms.

Steps to reproduce

1. Create a content type "A" which has a Node reference field pointing to a different content type - "B".
2. Create a Page views listing of Content type "A" using the BEF and expose the Node reference field within the BEF configurations.
3. There is no option I could find to show it as check boxes, its coming as a autocomplete text field ONLY.
4. The Taxonomy reference fields do come up correctly in BEF as you can see in the screen shot but not the Node reference field.

Proposed resolution

We should be able to expose Entity References filter as checkboxes, like it does for Taxonomy Terms

CommentFileSizeAuthor
Issue screen shot.jpg60.78 KBrobin.vaughan

Comments

robin.vaughan created an issue. See original summary.

jim22’s picture

Same issue. Node reference exposed filters were working with checkboxes for node references in version 3. After upgrading to version 5, existing node reference exposed filters show up empty on front-end when using "Exposed filter widget: default". The only other option is "jQuery UI Slider". If I add a new node-reference exposed filter, it shows as a text input.

Term reference exposed filters are able to properly display as checkboxes, with additional options for Links or Select2.

Drupal core 8.9.19
Better Exposed Filters 8.x-5.0-beta3

jim22’s picture

This appears like it might be a Drupal Core / Views issue and not a BEF issue?

neslee canil pinto’s picture

Version: 8.x-5.0-beta1 » 8.x-5.x-dev
Priority: Major » Normal
Status: Active » Closed (won't fix)

Yes @jim22 you are right, BEF cant give this functionality, maybe drupal core is the right place to request this feature.