Add SupportsReadOnlyMode to package manifest
This commit is contained in:
@@ -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
|
||||
/// </summary>
|
||||
bool HideLabel { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the IDataValueEditor supports readonly mode
|
||||
/// </summary>
|
||||
bool SupportsReadOnly => false;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets the validators to use to validate the edited value.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user