I have some exposed filters with autocompletion but they don't have autocomplete. In a non Entity Reference View Widget view it works.
Does anybody else have this issue?
I have some exposed filters with autocompletion but they don't have autocomplete. In a non Entity Reference View Widget view it works.
Does anybody else have this issue?
Comments
Comment #1
kingswoodute commentedYep same issue.
Comment #2
bojanz commentedShould work fine in the 2.x branch, we've reworked the exposed filter integration.
Comment #4
dr.admin commentedHi!
I have version 7.x-2.0-beta5, but it doesn't work with autocomplete exposed filter.
in function entityreference_view_widget_modal_form($form, &$form_state, $context) { i comment:
// Do not render the submit buttons if there's no views result.
// if (!empty($context['view']->result)) {
After that i see submit button.
Comment #5
dr.admin commentedComment #6
jsacksick commentedWhat's the relationship between the submit button and views autocomplete filter? When there's no result in the view, we're just hiding the buttons, that's it... What would you have to submit?
Comment #7
dr.admin commentedResults in the view with autocomplete show after user input value in autocomplete field.
Process of editing:
1) Open window and View has no results, because we did't input autocomplete field;
2) User inputs value for autocomplete field;
3) View shows results, but we don't see submit button.
Comment #8
jsacksick commentedI removed the $view->result check as you suggested, it's kind of weird to have a submit button where there's no result but I don't have a better solution at the moment, thanks for reporting this.
Comment #11
El Alemaño commentedHi,
Can anyone explain me how to add an exposed filter?
Thanks!