Skip to content

Commit

Permalink
minor fix -- datamodel multiselect edit form dropdowns (#9168)
Browse files Browse the repository at this point in the history
made sure dropdown gets unique ids.
  • Loading branch information
ehconitin authored Dec 20, 2024
1 parent 5236281 commit f65a90d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f65a90d

Please sign in to comment.