Revert "fix: prevent default object re-selection in relation field fo… (#17619)

I suggest to revert [this
PR](https://github.com/twentyhq/twenty/pull/17313) as it had already
been fixed [in this
PR](https://github.com/twentyhq/twenty/pull/17209/changes) (which fixes
more than it says in its title). Issue was tracked by [this
ticket](https://github.com/twentyhq/core-team-issues/issues/2049) not
very explicit - sorry, my fault.
Code added in the PR does not add value
This commit is contained in:
Marie
2026-02-02 11:51:11 +01:00
committed by GitHub
parent c9d5f48ecc
commit 54cf857a1a
3 changed files with 12 additions and 28 deletions
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
import { plural, t } from '@lingui/core/macro';
import { plural } from '@lingui/core/macro';
import { useMemo, useRef, useState, type MouseEvent } from 'react';
import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';
@@ -191,7 +191,6 @@ export const SettingsMorphRelationMultiSelect = ({
isDisabled={isDisabled}
selectSizeVariant={selectSizeVariant}
hasRightElement={hasRightElement}
placeholderText={t`Select objects...`}
/>
) : (
<Dropdown
@@ -214,7 +213,6 @@ export const SettingsMorphRelationMultiSelect = ({
isDisabled={isDisabled}
selectSizeVariant={selectSizeVariant}
hasRightElement={hasRightElement}
placeholderText={t`Select objects...`}
/>
}
dropdownComponents={