- Issue created by @tame4tex
- 🇨🇦Canada tame4tex
I have added MR 9866 to add this feature. Code was inspired by functionality that existed in https://www.drupal.org/files/issues/2020-09-30/2429699-351--on-9_1_x.patch → on 📌 Add Views EntityReference filter to be available for all entity reference fields Closed: duplicate .
Another reminder that you MUST follow the instruction on ✨ Continuation Add Views EntityReference filter to be available for all entity reference fields Active under the "How to use" heading to set up the EntityReference filter first for this to work.
- 🇺🇸United States smustgrave
Thanks for adding test coverage. For the new schema change will need an upgrade path for existing and test coverage for that update.
- 🇪🇸Spain dimaro Seville, Spain
Hey! I'm writing this comment after reading that one of the remaining tasks is to get feedback from the community. I find this feature quite useful. In fact, in one of the projects I'm working on, there is a need to increase the maximum number of items in an exposed filter that contains many countries. I believe that the functionality provided here provides both increasing that limit in the views you want, as well as making future filters that exceed that limit in other views automatically have the autocomplete widget.
Example for unlimited items: 3481590-unlimited_items.png
Example with the limit set to 100 items: 3481590-limit-set-to-100-items.png - First commit to issue fork.
- 🇮🇳India ramprassad
+1 for this functionality to be added in core. Tested this and it works fine, it switches to autocomplete when list in the select box exceeds the limit
- Status changed to Needs work
8 days ago 7:05pm 27 June 2025 - 🇺🇸United States joewhitsitt Iowa
Coming from https://www.drupal.org/project/drupal/issues/3347343 ✨ Continuation Add Views EntityReference filter to be available for all entity reference fields Active , does anyone recall the decision to make it 100 static? What kind of performance and ux issues were being experienced to warrant this limit? Should we be providing an override if the consequences are severe?