Skip to content

[Feature Request] Add clear/cross button to Forum search box for instant text clearing #1528

Description

@Vaishnavi22Thakur

Description

The search box on the Forums page has no clear/cross (❌)
button to instantly clear the typed text. Users have to
manually select all text and delete it which is poor UX.

Current Behavior:
When a user types in the Forum search box, there is no
clear/cross button to instantly clear the input.

Expected Behavior:
A clear/cross (❌) button should appear inside the search
box when text is typed, allowing users to clear it
instantly with one click.

Steps to Reproduce:

  1. Go to https://helpopshub.vercel.app/devopsforum
  2. Click on the search box
  3. Type any keyword (e.g. "Docker")
  4. Observe there is no cross/clear button

Suggested Solution:
Add a clear/cross (❌) button inside the search input
that appears when text is typed and clears the input
on click.

Screenshots

Image

Checklist

  • I have checked the existing issues
  • I have read the Contributing Guidelines
  • I am willing to work on this issue (optional)

GSSoC Participation

  • I am a GSSoC'26 contributor

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions