We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4edc8c9 + a3ad55a commit 717a4ccCopy full SHA for 717a4cc
packages/react-material-ui/src/components/DatePickerField/index.tsx
@@ -21,7 +21,10 @@ const DatePickerField = ({
21
22
const handleDebouncedSearch =
23
onDebouncedSearchChange &&
24
- useMemo(() => debounce(onDebouncedSearchChange, wait), []);
+ useMemo(
25
+ () => debounce(onDebouncedSearchChange, wait),
26
+ [props?.value, search],
27
+ );
28
29
const handleChange = (value: Date | null, context) => {
30
setSearch(value);
0 commit comments