Added Clear selection method to clear the input search field when clicked on X
This commit is contained in:
@ -120,7 +120,8 @@ export function LibrarySearchBar(props: LibrarySearchBarProps): JSX.Element {
|
||||
style="plainIcon"
|
||||
onClick={(event) => {
|
||||
event.preventDefault()
|
||||
clearSelection
|
||||
clearSelection()
|
||||
|
||||
//props.applySearchQuery('')
|
||||
// inputRef.current?.blur()
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user