Double autosubmit form. Not hide ajax-progress-fullscreen

Created on 9 November 2020, over 3 years ago
Updated 11 August 2023, 11 months ago

PROBLEM:
I select a filter in Views, animation appears and is not deleted.
During filtering, 2 ajax requests are sent.

SETTINGS:
The combination is configured: views + BEF + autosubmit.

CAUSE:
The "views_ef_fieldset" module creates a duplicate of the "submit" button. Autosubmit sees 2 buttons and hangs the send trigger on them. When filtering, "Auto Submit" clicks on two buttons.

DECISION:
When duplicating the "submit" button, we check the attribute of the hidden button: ['#attributes'] ['data-bef-auto-submit-click'], if it exists, then delete it.



πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia yuraosn Rostov-on-don

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States chucksimply

    Exact same problem. #3 patch fixes the issue.

  • πŸ‡¬πŸ‡§United Kingdom Eli-T Manchester

    Is it possible to fix this is a more generic way that isn't reliant on the implementation by BEF? It looks like any other module could do the same as BEF and cause this issue, and the patch in #3 wouldn't fix it.

  • πŸ‡ΊπŸ‡ΈUnited States jpshayes

    I am having the same problem with BEF and search api solr autocomplete. I am going to open an issue on BEF, but I wanted to mention that this issue is more widespread

Production build 0.69.0 2024