Expose "input required" setting

Created on 29 July 2022, about 2 years ago
Updated 12 September 2024, about 1 month ago

Problem/Motivation

Exposed forms in Views may be set to "Input required" so that results are only shown when at least one filter is selected.
Since this setting might affect logic in other places (like filter options handling), so it would be handy to determine whether this setting is active. Moreover, the Better Exposed Filters β†’ module extends the InputRequired class, but adds another similar setting.

Proposed resolution

Add an isInputRequired() public method to ExposedFormPluginInterface and implement it in core implementations (classes ExposedFormPluginBase and InputRequired).

User interface changes

None.

API changes

See above.

Release notes snippet

✨ Feature request
Status

Needs work

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 5 hours ago

Created by

πŸ‡©πŸ‡ͺGermany mrshowerman Munich

Live updates comments and jobs are added and updated live.
  • Needs subsystem maintainer review

    It is used to alert the maintainer(s) of a particular core subsystem that an issue significantly impacts their subsystem, and their signoff is needed (see the governance policy draft for more information). Also, if you use this tag, make sure the issue component is set to the correct subsystem. If an issue significantly impacts more than one subsystem, use needs framework manager review instead.

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.

Production build 0.71.5 2024