diff --git a/src/Umbraco.Core/Models/IDataValueEditor.cs b/src/Umbraco.Core/Models/IDataValueEditor.cs index 73b700e411..3e749b6d20 100644 --- a/src/Umbraco.Core/Models/IDataValueEditor.cs +++ b/src/Umbraco.Core/Models/IDataValueEditor.cs @@ -1,4 +1,4 @@ -using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations; using System.Xml.Linq; using Umbraco.Cms.Core.Models.Editors; using Umbraco.Cms.Core.PropertyEditors; @@ -32,6 +32,12 @@ public interface IDataValueEditor /// bool HideLabel { get; } + /// + /// Gets a value indicating whether the IDataValueEditor supports readonly mode + /// + bool SupportsReadOnly => false; + + /// /// Gets the validators to use to validate the edited value. ///