diff --git a/app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValueProperty.cs b/app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValueProperty.cs index d5c4b49..09cf236 100644 --- a/app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValueProperty.cs +++ b/app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValueProperty.cs @@ -33,6 +33,6 @@ namespace Archetype.Models public bool Required { get; set; } [JsonProperty("regEx")] - public bool RegEx { get; set; } + public string RegEx { get; set; } } } \ No newline at end of file diff --git a/app/views/archetype.html b/app/views/archetype.html index 2eb1c2d..d86f456 100644 --- a/app/views/archetype.html +++ b/app/views/archetype.html @@ -2,7 +2,7 @@