diff --git a/src/Umbraco.Infrastructure/PropertyEditors/MediaPickerPropertyEditor.cs b/src/Umbraco.Infrastructure/PropertyEditors/MediaPickerPropertyEditor.cs index 93f051bfe8..ccc604ef72 100644 --- a/src/Umbraco.Infrastructure/PropertyEditors/MediaPickerPropertyEditor.cs +++ b/src/Umbraco.Infrastructure/PropertyEditors/MediaPickerPropertyEditor.cs @@ -52,6 +52,7 @@ public class MediaPickerPropertyEditor : DataEditor { _ioHelper = ioHelper; _editorConfigurationParser = editorConfigurationParser; + SupportsReadOnly = true; } /// @@ -69,9 +70,8 @@ public class MediaPickerPropertyEditor : DataEditor IJsonSerializer jsonSerializer, IIOHelper ioHelper, DataEditorAttribute attribute) - : base(localizedTextService, shortStringHelper, jsonSerializer, ioHelper, attribute) - { - } + : base(localizedTextService, shortStringHelper, jsonSerializer, ioHelper, attribute) => + SupportsReadOnly = true; public IEnumerable GetReferences(object? value) {