diff --git a/src/Geta.Optimizely.Categories/DataAnnotations/CategoriesAttribute.cs b/src/Geta.Optimizely.Categories/DataAnnotations/CategoriesAttribute.cs index 275857d..162d8a5 100644 --- a/src/Geta.Optimizely.Categories/DataAnnotations/CategoriesAttribute.cs +++ b/src/Geta.Optimizely.Categories/DataAnnotations/CategoriesAttribute.cs @@ -42,6 +42,7 @@ public void CreateDisplayMetadata(DisplayMetadataProviderContext context) additionalValue.EditorConfiguration["repositoryKey"] = CategoryContentRepositoryDescriptor.RepositoryKey; additionalValue.EditorConfiguration["settings"] = categoryRepositoryDescriptor; additionalValue.EditorConfiguration["roots"] = categoryRepositoryDescriptor.Roots; + additionalValue.EditorConfiguration["multiple"] = true; } } -} \ No newline at end of file +} diff --git a/src/Geta.Optimizely.Categories/EditorDescriptors/CategoriesEditorDescriptor.cs b/src/Geta.Optimizely.Categories/EditorDescriptors/CategoriesEditorDescriptor.cs index b748114..5a4de2b 100644 --- a/src/Geta.Optimizely.Categories/EditorDescriptors/CategoriesEditorDescriptor.cs +++ b/src/Geta.Optimizely.Categories/EditorDescriptors/CategoriesEditorDescriptor.cs @@ -41,8 +41,9 @@ public override void ModifyMetadata(ExtendedMetadata metadata, IEnumerable