Updated property editors deserialization method to accept more information and original values, updated the upload property editor to now save
files in accordance with exactly how we are saving them currently and it is all working... expcept the new uploader can do multiple files. It is now persisting to the database as well.
This commit is contained in:
@@ -58,7 +58,8 @@ namespace Umbraco.Web.Models.Mapping
|
||||
Description = p.PropertyType.Description,
|
||||
Label = p.PropertyType.Name,
|
||||
Id = p.Id,
|
||||
DataType = _applicationContext.Services.DataTypeService.GetDataTypeDefinitionById(p.PropertyType.DataTypeDefinitionId)
|
||||
DataType = _applicationContext.Services.DataTypeService.GetDataTypeDefinitionById(p.PropertyType.DataTypeDefinitionId),
|
||||
PropertyEditor = PropertyEditorResolver.Current.GetById(p.PropertyType.DataTypeId)
|
||||
}).ToList()
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user