From 4e9632450fadbb10107eba45f29fc79f9bf3626f Mon Sep 17 00:00:00 2001 From: melloware Date: Fri, 18 Nov 2022 15:00:49 -0500 Subject: [PATCH] Fix #3659: AutoComplete use deepEquals for comparison --- components/lib/autocomplete/AutoComplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/autocomplete/AutoComplete.js b/components/lib/autocomplete/AutoComplete.js index ae59b35df3..3a3777fd6a 100644 --- a/components/lib/autocomplete/AutoComplete.js +++ b/components/lib/autocomplete/AutoComplete.js @@ -115,7 +115,7 @@ export const AutoComplete = React.memo( const updateModel = (event, value) => { // #2176 only call change if value actually changed - if (selectedItem && selectedItem.current === value) { + if (selectedItem && ObjectUtils.deepEquals(selectedItem.current, value)) { return; }