You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have experienced this especially on mobile, I haven't finished typing it already start searching. Wondering if something can be done to improve this situation. I saw the issue posted and fixed. But it's for Drupal 8.
I've experienced this too. It also removes the focus from the text field.
I've had a look at the patch but I don't think this can be applied to the D7 module.
For D7/Backdrop, this actually seems to be a core issue rather than specific to BEF
Two possibilities:
Next, I created a custom module with this hook in:
/** * Implements hook_form_alter(). */functionmymodule_form_alter(&$form, &$form_state, $form_id) {
if ($form_id == 'views_exposed_form') {
$form['fieldname']['#attributes']['class'] = array('autosubmit-exclude');
$form['fieldname']['#description'] = t('Press enter to include the text filter.');
}
}
This disables autosubmit for the text field and responds to enter. What you include in the description is up to you but I did feel it needed something.
@yorkshire-pudding Am I correct in understanding that the linked core issue will solve this when its merged? If so I may close this here just to keep the issue queue clean.
Hi @laryn. Yes, I have tested the diff from the latest PR (backdrop/backdrop#4653) against a view with BEF enabled and can confirm that the core fix will also fix this.
I have experienced this especially on mobile, I haven't finished typing it already start searching. Wondering if something can be done to improve this situation. I saw the issue posted and fixed. But it's for Drupal 8.
https://www.drupal.org/project/better_exposed_filters/issues/2921744
The text was updated successfully, but these errors were encountered: