From 715776771a6904c64303bee298afe98adf03d3f5 Mon Sep 17 00:00:00 2001 From: kjac Date: Tue, 13 May 2014 22:11:53 +0200 Subject: [PATCH 1/2] Fix deserialization of RegEx enabled properties Fix type mismatch for RegEx (introduced in 6e50301 - my bad, sorry) --- .../Umbraco.Archetype/Models/ArchetypePreValueProperty.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 32d0d199a30950e9834e9a511c31a4d2a4f96ffa Mon Sep 17 00:00:00 2001 From: Kevin Giszewski Date: Thu, 15 May 2014 17:24:14 -0400 Subject: [PATCH 2/2] Add/move dynamic classes for targeting of custom behavior --- app/views/archetype.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 @@