We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39bac29 commit 0dd6a00Copy full SHA for 0dd6a00
1 file changed
src/components/mui/search-input.js
@@ -26,6 +26,7 @@ const SearchInput = ({ term, onSearch, placeholder = "Search...", debounced }) =
26
}, [term]);
27
28
const handleClear = () => {
29
+ onSearchDebounced?.cancel();
30
setSearchTerm("");
31
onSearch("");
32
};
0 commit comments