When we add a facet block to the page, a filter is selected and the page starts to load the results. However there is no loading icon or indicator the change is being applied.
When we check the page, there is no JS error and nothing visible.
How do we get the loading icon or throbber to show when a facet is selected?
$form['my_form']['facet_filter_1']['#ajax'] = ['event' => 'keyup', 'progress' => [ 'type' => 'throbber', 'message' => NULL ]];
- for more info checkout api.drupal.org/api/drupal/… && drupal.org/docs/8/api/javascript-api/ajax-forms