working on U4-5687 Fix issues with mini content editor that is launched from new Edit button in MNTP
This commit is contained in:
@@ -16,7 +16,8 @@ namespace Umbraco.Web.PropertyEditors
|
||||
{
|
||||
_internalPreValues = new Dictionary<string, object>
|
||||
{
|
||||
{"multiPicker", "1"}
|
||||
{"multiPicker", "1"},
|
||||
{"showEditButton", "0"}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -46,6 +47,9 @@ namespace Umbraco.Web.PropertyEditors
|
||||
[PreValueField("maxNumber", "Maximum number of items", "number")]
|
||||
public string MaxNumber { get; set; }
|
||||
|
||||
[PreValueField("showEditButton", "Show edit button", "boolean")]
|
||||
public string ShowEditButton { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// This ensures the multiPicker pre-val is set based on the maxNumber of nodes set
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user