mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
Fix search box component close icon (#7304)
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
This commit is contained in:
parent
c6ef28ad89
commit
8d51588e6b
1 changed files with 2 additions and 2 deletions
|
|
@ -75,13 +75,13 @@ export const SearchBox = forwardRef(
|
|||
autoFocus={autoFocus}
|
||||
ref={ref}
|
||||
/>
|
||||
{(isFocused || showClearButton) && (
|
||||
{searchText.length > 0 ? (
|
||||
<span className="input-icon-addon end" onMouseDown={clearSearchText}>
|
||||
<div className="d-flex tj-common-search-input-clear-icon" title="clear">
|
||||
<SolidIcon name="remove" />
|
||||
</div>
|
||||
</span>
|
||||
)}
|
||||
) : ('')}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue