Add SupportReadOnlyMode to editor
This commit is contained in:
@@ -68,4 +68,11 @@ public class ContentPropertyBasic
|
||||
/// </summary>
|
||||
[IgnoreDataMember]
|
||||
public IDataEditor? PropertyEditor { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Used internally during model mapping
|
||||
/// </summary>
|
||||
[DataMember(Name = "supportsReadOnly")]
|
||||
[ReadOnly(true)]
|
||||
public bool SupportsReadOnly { get; set; }
|
||||
}
|
||||
|
||||
@@ -40,7 +40,4 @@ public class ContentPropertyDisplay : ContentPropertyBasic
|
||||
|
||||
[DataMember(Name = "readonly")]
|
||||
public bool Readonly { get; set; }
|
||||
|
||||
[DataMember(Name = "supportsReadOnly")]
|
||||
public bool SupportsReadOnly { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user