enable use of radiobuttonlist pre editor

This commit is contained in:
Dan Patching
2018-07-08 14:15:27 +01:00
parent ed81214e87
commit 80412f56ee
6 changed files with 32 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
using System.Collections.Generic;
using System.Runtime.Serialization;
using Umbraco.Core.Models;
namespace Umbraco.Web.Models.ContentEditing
{
@@ -40,5 +41,10 @@ namespace Umbraco.Web.Models.ContentEditing
[DataMember(Name = "config")]
public IDictionary<string, object> Config { get; set; }
/// <summary>
/// This allows for inner prevalues to be defined, for views such as radiobuttonlist, that require a selection.
/// </summary>
[DataMember(Name = "prevalues")]
public PreValueInnerListItem[] PreValues { get; set; }
}
}
}