From 8d38b796361e8dc3646b0fd2fdcd10057665023c Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Fri, 23 May 2025 11:40:47 +0100 Subject: [PATCH] fix(frontend): patch AutoCompleteSelect component key --- frontend/src/app-components/inputs/AutoCompleteSelect.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app-components/inputs/AutoCompleteSelect.tsx b/frontend/src/app-components/inputs/AutoCompleteSelect.tsx index e0d5f1a9..a5fe9667 100644 --- a/frontend/src/app-components/inputs/AutoCompleteSelect.tsx +++ b/frontend/src/app-components/inputs/AutoCompleteSelect.tsx @@ -1,5 +1,5 @@ /* - * Copyright © 2024 Hexastack. All rights reserved. + * Copyright © 2025 Hexastack. All rights reserved. * * Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms: * 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission. @@ -112,7 +112,7 @@ const AutoCompleteSelect = < {...rest} ref={ref} size="small" - key={JSON.stringify(value)} + key={`${JSON.stringify(options)}_${JSON.stringify(value)}`} disabled={isDisabled} defaultValue={selected} multiple={multiple}