Open etanb opened 6 months ago
I think I found the issue, since that "X" is appearing as a native HTML element due to type="search"
being an attribute on the <input>
field, so I realized the class usa-input
on the <form>
is removing the "X"!
Noting that there is no 'x' even on the USWDS Search component if I'm using Firefox, but on Chrome it does appear.
ReactUSWDS Version & USWDS Version:
Describe the bug
By default the USWDS Search component has the "X" to clear input functionality.
In Trussworks' implementation of the Search component, there is no "X" to clear input functionality. That seems to be exclusively available to items that utilize the
<ComboBox />
.To Reproduce Steps to reproduce the behavior:
Screenshots
USWDS Search input:
Trussworks Search input: