Added Clear selection method to clear the input search field when clicked on X

This commit is contained in:
Rupin Khandelwal
2022-09-16 17:09:34 -06:00
parent 4b6c0e368f
commit c2cc8db12c

View File

@ -120,7 +120,8 @@ export function LibrarySearchBar(props: LibrarySearchBarProps): JSX.Element {
style="plainIcon"
onClick={(event) => {
event.preventDefault()
clearSelection
clearSelection()
//props.applySearchQuery('')
// inputRef.current?.blur()
}}