Disable autosubmit with media query

Created on 2 June 2024, 7 months ago

Problem/Motivation

I need to disable the auto-submit feature for mobile devices as exposed filters should be submitted with the button on mobile devices for a better user experience. Having such functionality from the box is a good idea in my view.

Proposed resolution

This functionality can be implemented with media query to provide a flexible solution for disabling/enabling auto-submit based on the media query. So, this feature can be implemented by next steps:

  1. add new field to the "Exposed form options" form for media query
  2. pass media query from that field into form data attributes
  3. check media query to determinate whether auto-submit should be triggered
✨ Feature request
Status

Needs work

Version

7.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine chizh273

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024