From f65a90d137694760d926ce02e76c108329c5e433 Mon Sep 17 00:00:00 2001 From: nitin <142569587+ehconitin@users.noreply.github.com> Date: Fri, 20 Dec 2024 18:47:13 +0530 Subject: [PATCH] minor fix -- datamodel multiselect edit form dropdowns (#9168) made sure dropdown gets unique ids. --- .../components/SettingsDataModelFieldSelectFormOptionRow.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectFormOptionRow.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectFormOptionRow.tsx index 6f3002e7850e..c55fb4e0acdb 100644 --- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectFormOptionRow.tsx +++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectFormOptionRow.tsx @@ -79,8 +79,8 @@ export const SettingsDataModelFieldSelectFormOptionRow = ({ }: SettingsDataModelFieldSelectFormOptionRowProps) => { const theme = useTheme(); - const SELECT_COLOR_DROPDOWN_ID = 'select-color-dropdown'; - const SELECT_ACTIONS_DROPDOWN_ID = 'select-actions-dropdown'; + const SELECT_COLOR_DROPDOWN_ID = `select-color-dropdown-${option.id}`; + const SELECT_ACTIONS_DROPDOWN_ID = `select-actions-dropdown-${option.id}`; const { closeDropdown: closeColorDropdown } = useDropdown( SELECT_COLOR_DROPDOWN_ID,