diff --git a/src/Umbraco.Web/PropertyEditors/Validation/ComplexEditorElementTypeValidationResult.cs b/src/Umbraco.Web/PropertyEditors/Validation/ComplexEditorElementTypeValidationResult.cs index 132818ce59..17a1433db5 100644 --- a/src/Umbraco.Web/PropertyEditors/Validation/ComplexEditorElementTypeValidationResult.cs +++ b/src/Umbraco.Web/PropertyEditors/Validation/ComplexEditorElementTypeValidationResult.cs @@ -18,8 +18,20 @@ namespace Umbraco.Web.PropertyEditors.Validation public IList ValidationResults { get; } = new List(); - // TODO: We don't use this anywhere, though it's nice for debugging + /// + /// The element type alias of the validation result + /// + /// + /// This is useful for debugging purposes but it's not actively used in the angular app + /// public string ElementTypeAlias { get; } + + /// + /// The Block ID of the validation result + /// + /// + /// This is the GUID id of the content item based on the element type + /// public Guid BlockId { get; } } } diff --git a/src/Umbraco.Web/PropertyEditors/Validation/ValidationResultConverter.cs b/src/Umbraco.Web/PropertyEditors/Validation/ValidationResultConverter.cs index c527ce9766..85f2c5f81e 100644 --- a/src/Umbraco.Web/PropertyEditors/Validation/ValidationResultConverter.cs +++ b/src/Umbraco.Web/PropertyEditors/Validation/ValidationResultConverter.cs @@ -71,7 +71,7 @@ namespace Umbraco.Web.PropertyEditors.Validation { { "$id", elementTypeValidationResult.BlockId }, - // TODO: We don't use this anywhere, though it's nice for debugging + // We don't use this anywhere, though it's nice for debugging { "$elementTypeAlias", elementTypeValidationResult.ElementTypeAlias } };