In Drupal 8, I have added one block on node add form page. Also used filter using better exposed filter. But In admin, when I click on filter/ apply ajax is not working. Whenever I submit form for filter its reload the page. I am facing this issue only on Node Add Form. In nodes ajax is working.

Comments

Rupali patidar created an issue. See original summary.

Rupali patidar’s picture

Title: Views Better exposed filter ajax not working » Views Better exposed filter ajax not working in admin pages of Drupal 8
selwynpolit’s picture

hmmm - I'm having trouble getting ajax working in D8 period..

bbox1’s picture

Bear in mind that the exposed filter is actually a form. If you happen to be embedding the view within another admin form, then essentially the exposed filter's <form> element is supplanted by the admin form's <form> element. This will result in all submissions being made against the admin form's <form> definition, rather than the exposed form. That's why it just reloads the page.

In other words, you can't effectively use an exposed filter inside of another form.