Double autosubmit form. Not hide ajax-progress-fullscreen

Created on 9 November 2020, about 4 years ago
Updated 15 March 2023, over 1 year 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

  • Status changed to Needs work about 1 month ago
  • πŸ‡¬πŸ‡§United Kingdom Eli-T Manchester

    Marking as needs work as question in #6 unanswered, and patches should now be converted to merge requests.

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

    new patch for views_ef_fieldset 1.10.0

Production build 0.71.5 2024