diff --git a/packages/twenty-front/src/modules/ui/field/input/components/DoubleTextInput.tsx b/packages/twenty-front/src/modules/ui/field/input/components/DoubleTextInput.tsx index c0e312a921..027371815c 100644 --- a/packages/twenty-front/src/modules/ui/field/input/components/DoubleTextInput.tsx +++ b/packages/twenty-front/src/modules/ui/field/input/components/DoubleTextInput.tsx @@ -172,6 +172,13 @@ export const DoubleTextInput = ({ onPaste?.({ firstValue: splittedName[0], secondValue: splittedName[1] }); }; + const handleClickToPreventParentClickEvents = ( + event: React.MouseEvent, + ) => { + event.stopPropagation(); + event.preventDefault(); + }; + return ( ) => handleOnPaste(event) } + onClick={handleClickToPreventParentClickEvents} /> ) => { handleChange(firstInternalValue, event.target.value); }} + onClick={handleClickToPreventParentClickEvents} /> );