Add SupportsReadOnlyMode to package manifest

This commit is contained in:
Nikolaj Geisle
2022-06-21 12:30:41 +02:00
parent 7770f65faa
commit 7789f86b72

View File

@@ -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>