mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Added Clear selection method to clear the input search field when clicked on X
This commit is contained in:
parent
4b6c0e368f
commit
c2cc8db12c
1 changed files with 2 additions and 1 deletions
|
|
@ -120,7 +120,8 @@ export function LibrarySearchBar(props: LibrarySearchBarProps): JSX.Element {
|
|||
style="plainIcon"
|
||||
onClick={(event) => {
|
||||
event.preventDefault()
|
||||
clearSelection
|
||||
clearSelection()
|
||||
|
||||
//props.applySearchQuery('')
|
||||
// inputRef.current?.blur()
|
||||
}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue