Adds nametemplates for grid editors (#6634)

* Adds nametemplates for grid editors
This commit is contained in:
Søren Kottal
2019-10-25 12:35:15 +02:00
committed by Elitsa Marinovska
parent 131273bb5c
commit 56f33e1006
5 changed files with 21 additions and 5 deletions

View File

@@ -6,6 +6,7 @@ namespace Umbraco.Core.Configuration.Grid
public interface IGridEditorConfig
{
string Name { get; }
string NameTemplate { get; }
string Alias { get; }
string View { get; }
string Render { get; }

View File

@@ -18,6 +18,9 @@ namespace Umbraco.Core.PropertyEditors
[JsonProperty("name", Required = Required.Always)]
public string Name { get; set; }
[JsonProperty("nameTemplate")]
public string NameTemplate { get; set; }
[JsonProperty("alias", Required = Required.Always)]
public string Alias { get; set; }