WordPress / WordPress/pattern-directory
Block theme: Allowing users to clear the search form and submit.
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 134
- Forks
- 46
- Avg merge
- 9h 4m
- Merged PRs (30d)
- 19
Description
Describe the bug
We currently submit the page to apply filters and/or reset states. However, the search bar currently includes the required attribute which makes it impossible to clear the search term directly. I think we should remove that attribute which gives users the ability to clear their search term.
I did this for the wp.org/plugins theme and think we should do it here.
Problem
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the block theme's search-form configuration and compare it with the referenced wp.org/plugins theme change in inc/block-config.php around line 205. Remove the search bar's required attribute so users can clear the term and submit the form to reset filters or state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100