From 4e5833c09c389d7062675920a1da758a3b921968 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Wed, 5 Feb 2025 10:56:50 -0800 Subject: [PATCH] explicitly match IDs --- Client/src/Components/Inputs/Search/index.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Client/src/Components/Inputs/Search/index.jsx b/Client/src/Components/Inputs/Search/index.jsx index 56b329500..3459c6eac 100644 --- a/Client/src/Components/Inputs/Search/index.jsx +++ b/Client/src/Components/Inputs/Search/index.jsx @@ -60,6 +60,7 @@ const Search = ({ onBlur, }) => { const theme = useTheme(); + console.log({ options }); return ( option[filteredBy]} + isOptionEqualToValue={(option, value) => option._id === value._id} // Compare by unique identifier renderInput={(params) => (