how to reset a select on exposed filter automatically

Created on 30 August 2024, 4 months ago

Problem/Motivation

I have an exposed filter for a list of states on a view. I want the select field to automatically default back to "Any" after the person hits submit and gets his result view . is there any way to do this? I have tried using various hooks, hook_form_alter, hook pre_view and cant seem to find a way to do this.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ’¬ Support request
Status

Closed: outdated

Version

9.4

Component
ViewsΒ  β†’

Last updated 33 minutes ago

Created by

πŸ‡ΊπŸ‡ΈUnited States dianacastillo Miami

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

Comments & Activities

Production build 0.71.5 2024