Closed Bug 1734212 Opened 3 years ago Closed 3 years ago

Clear button for input type="search" fields

Categories

(Core :: Layout: Form Controls, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1654288

People

(Reporter: eldmannen+mozilla, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0

Steps to reproduce:

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search

I want a clear button to clear the entered search value in <input type="search" ... /> elements.

Actual results:

The input should have a clear button.

Expected results:

The input does not have any clear button. Other browsers such as Chrome and Edge have a clear button at the right side of the input field.

OS: Unspecified → All
Hardware: Unspecified → All
Summary: input type search clear → Clear button for input type="search" fields

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Form Controls' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Layout: Form Controls
Product: Firefox → Core

This is already implemented behind the about:config preference layout.forms.input-type-search.enabled and bug 1654288 tracks the dependencies to enable that by default.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.