diff --git a/README.md b/README.md index e263c35..e03b235 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ Install the selected rele ## Official Docs ## https://github.com/kgiszewski/ArchetypeManual + +##News and Updates## Follow us on Twitter https://twitter.com/ArchetypeKit ##Core Team## diff --git a/app/directives/archetypeproperty.js b/app/directives/archetypeproperty.js index 62045e1..7a9cd84 100644 --- a/app/directives/archetypeproperty.js +++ b/app/directives/archetypeproperty.js @@ -93,9 +93,11 @@ angular.module("umbraco.directives").directive('archetypeProperty', function ($c } } - //upload, colorpicker datatype hack - if(view.indexOf('fileupload.html') != -1 || view.indexOf('colorpicker.html') != -1) { + //hacks for various built-in datatyps including upload, colorpicker and tags + if (!scope.propertyForm) { scope.propertyForm = scope.form; + } + if (!scope.model.validation) { scope.model.validation = {}; scope.model.validation.mandatory = 0; }