How to create a filter condition autocomplete for entity reference field or normal? I am trying to create a filter condition for entity reference field in views, i tried by using rendered entity option it is showing dropdown for filter condition. I need autocomplete or it should be without dropdown and autocomplete (plain filter field). 

It should apply after giving full value in filtercondition?

Any suggestions..

/* Filter criterion: Content: Cage ID_VBC (field_cage_id_vbc) */
$handler-&gt;display-&gt;display_options['filters']['field_cage_id_vbc_target_id']['id'] = 'field_cage_id_vbc_target_id';
$handler-&gt;display-&gt;display_options['filters']['field_cage_id_vbc_target_id']['table'] = 'field_data_field_cage_id_vbc';
$handler-&gt;display-&gt;display_options['filters']['field_cage_id_vbc_target_id']['field'] = 'field_cage_id_vbc_target_id';
$handler-&gt;display-&gt;display_options['filters']['field_cage_id_vbc_target_id']['group'] = 1;
$handler-&gt;display-&gt;display_options['filters']['field_cage_id_vbc_target_id']['exposed'] = TRUE;
$handler-&gt;display-&gt;display_options['filters']['field_cage_id_vbc_target_id']['expose']['operator_id'] = 'field_cage_id_vbc_target_id_op';
$handler-&gt;display-&gt;display_options['filters']['field_cage_id_vbc_target_id']['expose']['label'] = 'Cage ID';
$handler-&gt;display-&gt;display_options['filters']['field_cage_id_vbc_target_id']['expose']['operator'] = 'field_cage_id_vbc_target_id_op';
$handler-&gt;display-&gt;display_options['filters']['field_cage_id_vbc_target_id']['expose']['identifier'] = 'field_cage_id_vbc_target_id';
$handler-&gt;display-&gt;display_options['filters']['field_cage_id_vbc_target_id']['expose']['remember_roles'] = array(
you can change an exposed filter to Select List or Text Box using the following code..

function mymodule_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  if ($form_id == 'views_exposed_form') {
    $view = $form_state['view'];
    if ($view-&gt;name == 'my_view_machine_name' &amp;&amp; $view-&gt;current_display == 'display_name') {
        $options = array('your options');
        $form['your field name']['#type'] ='select'; //Use TEXTBOX for text field.
        $form['your field name']['#size'] = null;
        $form['your field name']['#default_value'] = '';
        $form['your field name']['#options'] = $options; //not needed for textbox
    }
  }
}


Another option is use Autocomplete Deluxe for References Module.

Hope this will help you..