Ensure the same logic for property editors is executed for parameter editors to get the final configuration object

This commit is contained in:
Shannon
2019-02-08 16:07:03 +11:00
parent 63b3c06b3a
commit 40097c441a

View File

@@ -45,8 +45,9 @@ namespace Umbraco.Web.Models.Mapping
}
parameter.View = paramEditor.GetValueEditor().View;
var paramConfig = paramEditor.GetConfigurationEditor().ToValueEditor(paramEditor.DefaultConfiguration);
//set the config
parameter.Configuration = paramEditor.DefaultConfiguration;
parameter.Configuration = paramConfig;
});
}
}