Merge pull request #2550 from dawoe/temp-U4-11161

U4-11161 fix for adding multiple items in a single content picker
This commit is contained in:
Warren Buckley
2018-04-05 10:15:39 +01:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -66,6 +66,8 @@ function contentPickerController($scope, entityResource, editorState, iconHelper
showOpenButton: false,
showEditButton: false,
showPathOnHover: false,
maxNumber: 1,
minNumber : 0,
startNode: {
query: "",
type: "content",

View File

@@ -28,7 +28,7 @@
<localize key="general_add">Add</localize>
</a>
<div class="umb-contentpicker__min-max-help">
<div class="umb-contentpicker__min-max-help" ng-if="model.config.multiPicker === true">
<!-- Both min and max items -->
<span ng-if="model.config.minNumber && model.config.maxNumber && model.config.minNumber !== model.config.maxNumber">