diff --git a/src/actions/actionProperties.tsx b/src/actions/actionProperties.tsx index 07a4c00de..2a4827033 100644 --- a/src/actions/actionProperties.tsx +++ b/src/actions/actionProperties.tsx @@ -27,8 +27,9 @@ const getFormValue = function( ): T | null { return ( (editingElement && getAttribute(editingElement)) ?? - getCommonAttributeOfSelectedElements(elements, getAttribute) ?? - defaultValue ?? + (elements.some(element => element.isSelected) + ? getCommonAttributeOfSelectedElements(elements, getAttribute) + : defaultValue) ?? null ); };