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:
+1
-3
@@ -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={
|
||||
|
||||
Reference in New Issue
Block a user