Fixes #29759: Not possible to make a property that is using a datatype with the usercontrolwrapper mandatory
This commit is contained in:
@@ -16,11 +16,19 @@ using umbraco.IO;
|
||||
|
||||
namespace umbraco.editorControls.userControlGrapper
|
||||
{
|
||||
[ValidationProperty("Value")]
|
||||
public class usercontrolDataEditor : System.Web.UI.WebControls.PlaceHolder, umbraco.interfaces.IDataEditor
|
||||
{
|
||||
private umbraco.interfaces.IData _data;
|
||||
private string _usercontrolPath;
|
||||
|
||||
public object Value
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((IUsercontrolDataEditor)Controls[0]).value;
|
||||
}
|
||||
}
|
||||
|
||||
public usercontrolDataEditor(umbraco.interfaces.IData Data, string UsercontrolPath)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user