diff --git a/packages/twenty-front/src/modules/object-record/record-field/meta-types/input/components/MultiItemFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/meta-types/input/components/MultiItemFieldInput.tsx index b223abfcff13..b2a94f117abc 100644 --- a/packages/twenty-front/src/modules/object-record/record-field/meta-types/input/components/MultiItemFieldInput.tsx +++ b/packages/twenty-front/src/modules/object-record/record-field/meta-types/input/components/MultiItemFieldInput.tsx @@ -48,7 +48,6 @@ export const MultiItemFieldInput = ({ hotkeyScope, }: MultiItemFieldInputProps) => { const containerRef = useRef(null); - const handleDropdownClose = () => { onCancel?.(); }; @@ -71,8 +70,9 @@ export const MultiItemFieldInput = ({ }; const handleEditButtonClick = (index: number) => { + const item = items[index] as { label: string; url: string }; setItemToEditIndex(index); - setInputValue((items[index] as unknown as string) || ''); + setInputValue(item.url || ''); setIsInputDisplayed(true); };