0

I've got 2 content types "Equipment" and "Machine" , "Equipment" content type consists of an entity reference field targeting "Machine" content types.

My goal is to provide an exposed filter for user so he/she can filter equipments based on Machine's model. If "- Enable Render Views filters as select list" is checked in field settings exposed filter type changes to "select list" but cause I've got more than 11000 different models of machines , this is not an appropriate tool for selecting the proper model.

so the question is how can I provide an autocomplete textbox widget for this field (like what is provided in node creation form)?

0

I found an answer here : Drupal 7 Views Autocomplete Filter | Code Karate

Following this solution I installed Views Autocomplete Filter module and then in the view, I added a relationship based on field machine model and then a filter of type title of machine was provided .

Everything works great now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.