Updated the data type controller post method and moved validation, etc... over to a filter, updated data type tree with the create menu action to launch into a blank element.
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Runtime.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
using Umbraco.Core.Models;
|
||||
using Umbraco.Core.PropertyEditors;
|
||||
|
||||
namespace Umbraco.Web.Models.ContentEditing
|
||||
{
|
||||
@@ -25,5 +28,17 @@ namespace Umbraco.Web.Models.ContentEditing
|
||||
[DataMember(Name = "preValues")]
|
||||
public IEnumerable<PreValueFieldSave> PreValues { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The real persisted data type
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
internal IDataTypeDefinition PersistedDataType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The PropertyEditor assigned
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
internal PropertyEditor PropertyEditor { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user